@gustavosorati
Posted
Hello, you can change color when click next step checking the valeus of input on useState, example: name: string = " ''
// verify has value name.trim().length === 0{ boolean to pass conditionaly to css } and then in css style={{ condition ? true : false }}
#2 - you can use state and prop drilling or context in this case
#3 - You can try use Styled-components it's more easy to make css when you have conditions.
But your project is good, congratulations!
Marked as helpful