Dear Professor,
I hope this email finds you well.
I have some questions on the project Basair.
1- I managed to read the json files of surah al nisa verses and display each ayah in a row. But how to display more than one ayah on a row? the numbers of ayahs in a row changes. Some time the مقطعis for 3 ayah and some time its for 1 or 2 so it differs, how can I do that? Should I change in the json file and group them together or there is other way to do that without editing the json file?
2-Same thing for the tafsir, since each مقطع is in a row and it has tafsir link, but the json file have the tafsir of each ayah separately, should I change on the json file and group the tafsir of each row? or there is another way?
Thank you and sorry for the inconvenience.
@erradi
You can concatenate the ayat of a مقطع into 1 string using a String Template. Then you may use a flexbox to display the مقطع summary besides the associated ayats.
Dear Professor, I hope this email finds you well. I have some questions on the project Basair.
1- I managed to read the json files of surah al nisa verses and display each ayah in a row. But how to display more than one ayah on a row? the numbers of ayahs in a row changes. Some time the مقطعis for 3 ayah and some time its for 1 or 2 so it differs, how can I do that? Should I change in the json file and group them together or there is other way to do that without editing the json file?
2-Same thing for the tafsir, since each مقطع is in a row and it has tafsir link, but the json file have the tafsir of each ayah separately, should I change on the json file and group the tafsir of each row? or there is another way?
Thank you and sorry for the inconvenience. @erradi
Best regards, Hissa Al-Misned CMPS350-L51