Skip to content

HealineHub is a modern news website that uses HTML, CSS, and JavaScript to display the latest news. It gathers real-time news updates through the News API.

Notifications You must be signed in to change notification settings

Splash-Nemo/news-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HeadlineHub

This project is a fully functional news website that fetches news articles from the News API and displays them in various sections such as headlines, latest news, popular news, and more. It provides an intuitive user interface for users to read news articles conveniently.

Demo

screen-recording.1.mp4

Kudos

API Reference

Overview

The News API provides developers with access to a wealth of news articles and information from various sources. With this API, developers can retrieve headlines, search for articles, and get information about specific news sources.

Base URL

All API endpoints are accessed via the following base URL: https://newsapi.org/

Color Reference

Color Hex
Container Background Color #EEEEEE #EEEEEE
Header Text Color #FFFFFF #FFFFFF
Navigation Bar Background Color #22282E #22282E
Link Color #FFFFFF #FFFFFF
Link Hover Color #F74949 #F74949
Search Box Border Color #FFFFFF #FFFFFF
Section Heading Text Color #FFFFFF #FFFFFF
Headline Text Color #FFFFFF #FFFFFF
Read More Button Background Color #FFFFFF #FFFFFF
Read More Button Text Color #FFFFFF #FFFFFF
Read More Button Hover Background Color #FF0000 #FF0000
Additional News Item Border Color #FFFFFF #FFFFFF
Popular News Content Border Color #FFFFFF #FFFFFF
Popular News Content Hover Border Color #FF0000 #FF0000
Newsletter Input Background Color #FFFFFF #FFFFFF
Newsletter Input Text Color #000000 #000000
Newsletter Submit Button Color #87CEFA #87CEFA
Newsletter Submit Button Hover Color #74B2D8 #74B2D8

Run Locally

To deploy this project, follow these steps:

  1. Clone the Repository: Clone this repository to your local machine using the following command:

    git clone https://github.com/your-username/your-repository.git
    
  2. Navigate to the Project Directory: Change your current directory to the project directory:

    cd your-repository
    
  3. Open HTML File: Open the HTML file (index.html) in your preferred web browser to view the webpage.

Features

  1. Responsive Design: The webpage is designed to be responsive, ensuring optimal viewing experience across different devices and screen sizes.

  2. Navigation Menu: The navigation menu (navbar) provides easy access to different sections of the webpage, enhancing user experience.

  3. Dynamic Headlines: The webpage features dynamic headlines with customizable text content and background colors, adding visual appeal.

  4. Latest and Popular News Sections: Separate sections are dedicated to displaying the latest news and popular articles, facilitating content discovery.

  5. Newsletter Subscription: Users can subscribe to the newsletter by entering their email address in the provided input field, enabling user engagement and communication.

  6. Customizable Styling: The CSS styles (styles.css) are organized and customizable, allowing easy modification of the webpage's appearance and layout.

  7. Smooth Scrolling: The webpage utilizes smooth scrolling behavior (scroll-behavior: smooth;) for enhanced navigation experience.

  8. Font Import: Custom fonts are imported from Google Fonts (@import url(...)) to enhance typography and visual presentation.

  9. CSS Animations: CSS animations are used to add subtle visual effects, improving user engagement and interaction.

  10. Cross-browser Compatibility: The webpage is designed to be compatible with major web browsers (Chrome, Firefox, Safari), ensuring consistent performance and display.

About

HealineHub is a modern news website that uses HTML, CSS, and JavaScript to display the latest news. It gathers real-time news updates through the News API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published