Skip to content

naveen-p08/colour-guesser

Repository files navigation

My Awesome Project

This is a simple application where the user can guess the the color code for the displayed color.

Link to project: https://colourguesser.netlify.app/

colour guesser

How It's Made:

Tech used: React, Vite

The application generates a random color at the first render using useEffect hook and also generates a list of options and stores them in state. If the user selects the correct option the application will generate a new random color after a set time, otherwise it will stay on the same page.

Lessons Learned:

This app helps to understand how useEffect hook works, when to use the hook and the importance of cleanup function in th useEffect hook, how dependency array will affect how the hook is executed.

Examples:

Take a look at these couple examples that I have in my own portfolio:

Frontend Mentor: https://www.frontendmentor.io/profile/root9259

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published