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
AccuWeather API π
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