This final JS project was created for the purpose of my two week Javascript class final exam, with professor Aakash Malhotra 🔗.
This project highlighted and improved my knowledge of API's, AJAX calls and the jQuery library 📚.
Currently trying to find a free solution to make my AccuWeather API call over HTTPS, as GitHub Pages doesn't handle HTTP requests.
Please feel free to contribute if you think you have a solution, thank you!
The API call is made with the help of the jQuery syntax in JS-Final-Project/js/login.js, line 138.
I tried putting this address (https://cors-anywhere.herokuapp.com/) before the Accuweather address, as someone suggested on StackOverflow, but I wish there would be a better solution as it is still not working correctly. The temporary work around to use the project is explained in the Usage section, below ⬇️
Temporary : go to https://cors-anywhere.herokuapp.com and click on the button to get temporary access to the server. Then, go to the GitHub page available for my project and follow the instructions below ⬇️
GitHub page available: https://emmadebarros.github.io/JavaScript-Final-Project/ 🔗
To experiment use:
📧 email: admin@yopmail.com
🔑 password: adminyopmail
Pull requests are welcome as I love improving my projects and learning 💞. For major changes, please open an issue first to discuss what you would like to change.
Here are the links I used as reference throughout the making of the project :
Date Object JS 🔗: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
Real time clock 🔗: https://www.youtube.com/watch?v=C2CrBlGvbEM
Non-navigating links JS 🔗: https://weblog.west-wind.com/posts/2019/Jan/21/NonNavigating-Links-for-JavaScript-Handling
String Slice method JS 🔗: https://www.w3schools.com/jsref/jsref_slice_string.asp