A simple app to get prayer times by city and country using the Aladhan API.
- HTML:
index.pug
→index.html
- CSS:
style.sass
→style.css
- JS: Vanilla JS with
async/await
- Tools: Pug, Sass, npm scripts
- Search prayer times by city and country
- Toggle to show 5 main prayers or all prayer times
- Clean, modern UI with mobile-friendly design
- Auto-focus and instant feedback
- Built with Pug, Sass, and vanilla JavaScript
Just Click On This Link
app.commented.js
is a fully documented version of the logic — great for learning or future reference.- The app uses async/await with try/catch for safe API error handling.
- Focus management improves user experience on mobile.