Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.18 KB

README.md

File metadata and controls

28 lines (22 loc) · 1.18 KB

Prime News App

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.

Features

  • 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.

Installation

  1. Clone the Repository
    git clone https://github.com/your-username/prime-news-app.git
    cd prime-news-app
  2. **Open the Project Open index.html in your web browser to view the application.

Usage

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.

Dependencies

JavaScript Fetch API NewsAPI (API key required)

API Key

Replace the API_KEY in script.js with your own NewsAPI key.