#instanews
This page consists of different news articles provided by NY Times. The user will be able to click on the article sections and be linked to the full article. The website will request the data and display a card accordingly for the user to ssee. It's also responsive to tablets, desktops and phones.
- HTML/ CSS
- Javascript
- JQuery
- Gulp
- SASS
If you want to clone the repo and try yourself, you should follow this steps:
- Go to the NYT API page (https://developer.nytimes.com/) and sign in
- Generate a new API Key
- Create a config.js file in the JS folder in the main directory
- Create a new variable inside the config.js with the name MY_KEY
- Import this variable to the index.js
- Enjoy your news!
A great learning curve on how to use AJAX and API's. I used the API from NYT news. I then manipulated the information that i wanted and inserted it accordingly.