@SvitlanaSuslenkova
Posted
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_active_element
What are you most proud of, and what would you do differently next time?
Nothing. The images show in my localhost. Not in the github live page as usual.
What challenges did you encounter, and how did you overcome them?
The :focus css doesnt work, i gave up.
What specific areas of your project would you like help with?
none
@SvitlanaSuslenkova
Posted
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_active_element
@SvitlanaSuslenkova
Posted
When you click outside of the button, focus is lost, so your class will be romoved. You need to add class (focus css) to the button you click and remove class from the rest of the buttons. So it's js, not css task.
@yasingunaydiin
Posted
I have seen tutorials where they just used only CSS. It should work. @SvitlanaSuslenkova
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord