Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.04 KB

contribution.md

File metadata and controls

41 lines (30 loc) · 1.04 KB

Contributing to News Website

Thanks for your interest in contributing! Here are the steps to get started:

Prerequisites

  • Git & GitHub account
  • Node.js installed
  • Code editor like VS Code

Setup

  1. Fork the repository
  2. Clone your forked repo git clone https://github.com/cjstyles6/news-website.git
  3. Install dependencies npm install
  4. Start development server npm run dev

News API This project uses the NewsAPI to fetch news articles. You'll need to sign up for a free developer account to obtain an API key.

Add your API key to script.js file

Tailwind CSS This project uses Tailwind CSS for styling. The Tailwind directives are added in input.css.

To recompile Tailwind styles, run: npm run build This will generate the output.css stylesheet.

Making Changes

  1. Create a new branch
  2. Make code changes as needed
  3. Test changes locally before committing
  4. Commit changes with clear commit message
  5. Push changes to your fork
  6. Open a pull request to the upstream repository

Let me know if you have any questions!