@Memphis-X
Posted
Not bad Matias...good job.
@Matblv
Posted
@Memphis-X Thanks Jordan
Looking to hire developers?
Hi everyone, i hope you can tell me about other solutions and corrections for my project
@jkellerman
Posted
Well done! Looks good, just one suggestion.
When you open all tabs, it pushes them down and then you can't see the bottom one anymore. To avoid this you could close all other tabs when the selected one is open.
@Matblv
Posted
@jkellerman Yeah i tried but i can't do it i don't know how to do that
@jkellerman
Posted
@Matblv What you will need to do is give the tab that has been clicked a class that indicates it is active. So set up a click event that does something like tab.classlist.toggle("active").
Then you will need to loop through the other tabs and remove "active". E.g tab.classlist.remove("active").
Hope that helps.
@Matblv
Posted
@jkellerman thanks for your comment
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