@soymze
Posted
Your solution looks same with the design.Congratulations:) Some tips about the functionality about the solution, when you hover on buttons, cursor should be pointer. After you clicked a button, its background is becoming white but when you click another one it is not changing its background back to orange and because of that we can click all of them and all of them are going to be white backgrounded... So the solution is to check if a previous button exists and is different from the currently clicked button. If so, reset the previous button’s background color and text color before updating the current button’s style.Happy coding :)
Marked as helpful