Skip to content

jNascimentoCW/game-stop-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⏱️ Stop the Timer Game

A fun and simple game built with React where the user must try to stop the timer at the exact moment—without knowing how much time has passed.

This project was developed as part of the course React - The Complete Guide 2025 (incl. Next.js, Redux) on Udemy.

🚀 Demo

🔗 Live Project

🧠 What I Learned

  • Building UIs using React components
  • Accessing and managing DOM elements with useRef()
  • Managing values that don’t trigger re-renders using useRef()
  • Creating modals with the native HTML <dialog> element
  • Using showModal() to display the dialog
  • Sharing refs across components using forwardRef()
  • Why forwardRef() is still relevant in projects using React versions prior to 19

🛠️ Tech Stack

  • React
  • JavaScript
  • HTML5 + CSS3

📦 Installation

To run the project locally:

git clone https://github.com/jNascimentoCW/game-stop-timer.git
cd game-stop-timer
npm install
npm run dev

📄 License This project is for educational purposes.

Feel free to contribute, fork, or leave a ⭐ if you liked it!

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published