Skip to content

SID9927/GraduationProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

News Website

This project is a responsive news website that fetches and displays news articles from various categories using the NewsAPI.

Features

  • Breaking news and top headlines
  • Category-specific news sections (Sports, Business, Technology)
  • Search functionality
  • Responsive design for various screen sizes
  • Pagination for search results and category sections

Technologies Used

  • HTML5
  • CSS3
  • JavaScript (ES6+)
  • NewsAPI
  • Font Awesome for icons

Setup

  1. Clone the repository: git clone https://github.com/SID9927/News_Website.git

  2. Navigate to the project directory:

  3. Open index.html in your browser to view the website.

API Usage

This project uses a proxy server to fetch news data. The API base URL is set to:

const API_BASE_URL = 'https://news-proxy-server.netlify.app/api';

Project Structure

  • index.html: Main HTML file containing the structure of the website
  • style.css: CSS file for styling the website
  • index.js: JavaScript file containing the logic for fetching and displaying news data

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

This project is open source and available under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors