Prime News App is a web application that provides the latest news articles categorized by different topics. It uses the NewsAPI to fetch articles and displays them in a responsive grid layout. The application features a search bar and category buttons to filter news based on user preferences.
- News Categories: Filter news by categories such as Entertainment, Sports, Tech, and Politics.
- Search Functionality: Search for news articles by keywords.
- Responsive Design: Adaptable layout for different screen sizes.
- News Display: Presents articles with images, titles, sources, and descriptions.
- Clone the Repository
git clone https://github.com/your-username/prime-news-app.git cd prime-news-app
- **Open the Project Open index.html in your web browser to view the application.
Categories: Click on any category button to view news articles related to that category. Search: Enter a search term in the search bar and click the search button to find news articles.
JavaScript Fetch API NewsAPI (API key required)
Replace the API_KEY in script.js with your own NewsAPI key.