https://github.com/naemazam/random-quran-ayat
This Website will Generate Random Quran Ayat With Arabic and English Meaning. You can also share it on twitter or Facebook.
https://github.com/naemazam/random-quran-ayat
api html-css-javascript javascript
Last synced: 5 months ago
JSON representation
This Website will Generate Random Quran Ayat With Arabic and English Meaning. You can also share it on twitter or Facebook.
- Host: GitHub
- URL: https://github.com/naemazam/random-quran-ayat
- Owner: naemazam
- License: mit
- Created: 2022-01-20T08:15:00.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-20T08:55:03.000Z (almost 4 years ago)
- Last Synced: 2025-03-04T10:14:50.335Z (9 months ago)
- Topics: api, html-css-javascript, javascript
- Language: JavaScript
- Homepage: https://naemazam.github.io/Random-Quran-Ayat/
- Size: 716 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Random Quran Ayat
The Quran, also romanized Qur'an or Koran, is the central religious text of Islam, believed by Muslims to be a revelation from Allah. It is widely regarded as the finest work in classical Arabic literature. It is organized in 114 chapters, which consist of verses
This Website will Generate Random Quran Ayat With Arabic and English Meaning. You can also share it on twitter or Facebook.
## Demo

## API Reference
#### Get ayah
```js
function getQuote() {
var ayah = Math.floor(Math.random() * 6236) + 1
var url = "https://api.alquran.cloud/ayah/"+ayah+"/en.asad";
var urlArabic = "https://api.alquran.cloud/ayah/"+ayah;
arText;
enText;
surah;
ayahNumber;
surahAndAyah;
$.getJSON( urlArabic, function(data) {
arText = data.data.text;
document.getElementById("arabicVerseText").innerHTML = arText;
console.log(arText);
});
```
## 🚀 Special Thank You
[SAS]()
## License
[MIT](https://choosealicense.com/licenses/mit/)