Skip to content

NewsGrid is an interactive web application that fetches real-time news articles by country and category using the GNews API. It features a responsive design, animated backgrounds, and dynamic content filtering for an engaging user experience. Developed by Sudipta Sarkar.

Notifications You must be signed in to change notification settings

itzsudipta/NewsGrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ—žοΈ NewsGrid

NewsGrid is a modern and interactive web application that allows users to browse the latest news articles by country and category. Powered by the GNews API, this project provides a sleek and responsive design with animated backgrounds and dynamic content.


🌟 Features

  • 🌍 Country-Based News: Select your country to view relevant news.
  • πŸ“° Category Filtering: Choose from categories like Technology, Sports, Business, and more.
  • 🎨 Interactive Design: Includes animated backgrounds and hover effects for a modern look.
  • ⚑ Dynamic Content: News articles are fetched in real-time using the GNews API.
  • πŸ’» Responsive Layout: Fully optimized for desktop and mobile devices.
  • ✨ Footer Credit: Developed by Sudipta Sarkar.

πŸš€ Demo

Homepage Screenshot


πŸ› οΈ Technologies Used

Technology Purpose
HTML5 Structuring the web page
CSS3 Styling and animations
JavaScript (ES6) Dynamic content and API integration
GNews API Fetching real-time news articles
Postman Testing API requests and debugging

πŸ”‘ API Integration

  1. Sign up at GNews and get your API key.
  2. Replace the placeholder API key in script.js:
    const API_KEY = "your-api-key-here";
  3. You may test the API with Postman before integration to ensure it works as expected:
    const url = `https://gnews.io/api/v4/top-headlines?country=${country}&topic=${category}&token=${API_KEY}`;

πŸ“¦ Installation

  1. Clone the repository:
    git clone https://github.com/itzsudipta/NewsGrid.git

About

NewsGrid is an interactive web application that fetches real-time news articles by country and category using the GNews API. It features a responsive design, animated backgrounds, and dynamic content filtering for an engaging user experience. Developed by Sudipta Sarkar.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published