Good solution, does the job. I would look into more semantic html for better accessability. Otherwise I like your solution. Also I would say that it's good to start practicing commenting the code for an easier over look.
0
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