This is a simple news application built with HTML, CSS, and JavaScript. It fetches news articles from a news API and displays them on the page. Users can select different categories to view news on different topics. This is my first project working with APIs, and as a beginner, there might be bugs or areas for improvement. Pull requests and suggestions are very welcome!
- Fetches news from a news API
- Displays news articles with image, title, description, and link
- Allows users to select news category
- Highlights the currently selected category
- Clone the repository:
git clone https://github.com/Lelin07/classic-newsapp.git
- Navigate into the project directory:
cd classic-newsapp
- Open
index.html
in your browser to view the app
Click on a category in the navigation bar to view news articles on that topic. The currently selected category will be highlighted.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. As this is my first project with APIs, there might be bugs or areas for improvement, and your contributions are greatly appreciated!
The CSS for this project is quite basic, as I'm not a big fan of CSS. However, I have extensively used CSS in this project to strengthen my fundamentals and create a good user interface. If you have suggestions for improving the styling, or if you'd like to contribute some CSS improvements, please feel free to do so!
This project is licensed under the MIT License. Feel free to use and modify the code as needed.