Skip to content

ashishr77/NewsApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“° News App - Real-Time News Aggregator

A responsive News App built with HTML, CSS, and JavaScript that fetches the latest news articles from the NewsAPI. Users can browse trending news, filter by category (Technology, Science, Entertainment), or search for specific topics.

πŸš€ Features

βœ… Trending News – Get the latest headlines βœ… Category Filters – Technology, Science, Entertainment βœ… Search Functionality – Find news by keywords βœ… Responsive Design – Works on mobile & desktop βœ… Dynamic Card Layout – Clean, modern UI

πŸ› οΈ Technologies Used

Frontend: HTML5, CSS3, JavaScript

API: NewsAPI

πŸ“¦ Installation & Setup

Clone the repository: git clone https://github.com/your-username/news-app.git cd news-app

Get an API Key:

Sign up for a free API key at NewsAPI.

Create a .env file in the project root and add: NEWS_APP_NEWS_API_KEY=your_api_key_here

Run the app:

Open index.html in a browser (no server needed).

πŸ–₯️ Usage :

Click on categories (Trending, Technology, Science, Entertainment) to filter news.

Search for specific topics using the search bar.

Responsive cards display news with images, titles, sources, and descriptions.

πŸ“œ License :

This project is open-source under the MIT License.

πŸ”— Links :

Live Demo (Coming Soon) GitHub Repo

πŸ™ Credits

NewsAPI for providing free news data. Inspired by modern news aggregators.

πŸ› οΈ Future Improvements

Add dark mode Save favorite articles Infinite scroll

Happy Reading! πŸ“–βœ¨

Releases

No releases published

Packages

 
 
 

Contributors