A simple interactive basketball scoreboard built with HTML, CSS, and JavaScript. Track scores for Home and Guest teams with +1, +2, and +3 buttons.
- Increment Home and Guest scores individually.
- Big, visually clear scoreboard numbers.
- Fully responsive layout using flexbox.
- Clean, reusable JavaScript function to handle all button clicks.
- HTML5 – Structure
- CSS3 – Styling
- Vanilla JavaScript – Logic
- Clone the repository:
git clone https://github.com/codeharman/Basketball-Scoreboard.git
- cd basketball-scoreboard
- Open index.html in your browser.
Click the +1, +2, +3 buttons under each team to update the score.
The scoreboard updates in real-time.
basketball-scoreboard/
├─ index.html # Main HTML file
├─ styles.css # Styling for scoreboard
├─ scoreboard.js # JavaScript for updating scores
└─ README.md