To get a local copy up and running follow these simple steps.
- A Live Server in your editor or your browser will be needed to run the project
- Get a free API key at NewsApi
- Clone the repo
git clone https://github.com/curiyash/The-Forty-Two-Times.git
- Enter your APIKey at the beginning of main.js file
const apiKey = 'ENTER YOUR API KEY';
Trending news in different categories are displayed on the homepage in a carousel. Top 4 trending news in your country will appear at the side of the carousel. You can read about the news in depth by clicking on the news headline. You can navigate the website through the navigation bar at the top. Clicking on 'Categories' will lead you to...
You can select from 9 default categories of news. White buttons indicate unselected tags and black buttons indicate selected tags. Top 3 news of chosen category will be displayed on the screen. Your last chosen category will appear at the top of the page. You can read about the news in depth by clicking on the news headline. You can explore the categories more by clicking on:
- 'Read More'
- Title of the category which will lead you to each catergory's individual page.
Here, 12 other news will appear in the form of cards below the top three news. You can read about the news in depth by clicking on the news headline or image.
You can search for specific topics from the search bar on this page. 15 related news articles will be displayed below. You can read about the news in depth by clicking on the news headline or image.
Yash Suryawanshi - https://github.com/curiyash - curiyash19@gmail.com Shyam Randar - https://github.com/ShyamR12 - shyamrandar12@gmail.com
Project Link: https://github.com/curiyash/The-Forty-Two-Times