Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 995 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 995 Bytes

News Website

This is a news website built with HTML, CSS, and JavaScript. It allows users to search for and view top news articles by keyword or category.

Features

  • Search articles by keyword
  • Browse articles by category (business, entertainment, health, science, technology)
  • Clean and responsive layout built with Tailwind CSS
  • Display article title, description, author, image, and link
  • Default placeholder image if article image is missing
  • Mobile friendly responsive design

Usage

To use the news website:

  1. Clone the repository
  2. Open index.html in your browser
  3. Search for articles using a keyword or click on a category
  4. Browse the results displayed from the NewsAPI

Customization

The NewsAPI key is required for fetching news data. You can sign up for a free developer account to obtain an API key.

The categories and styling can be customized by modifying the CSS and JavaScript files.

Built With

  • HTML
  • Tailwind CSS
  • JavaScript
  • NewsAPI