Design comparison
SolutionDesign
Solution retrospective
Hello,
I would appreciate if you leave any comment about my code. Thank you!
Community feedback
- @abhik-bPosted almost 4 years ago
Hi Marta , your solution is amazing 🎉, it works great and it is responsive enough 🔥 , hover transitions work nicely !
** Just some opinions : **
- please give
max-width
to themain__container
so that it does not become too wide on large screens - instead of a
for
loop you can useforEach
to reduce your code:
btnToggle.addEventListener('click', () => { btnToggle.classList.toggle('active'); containers.forEach(container=>{ container.classList.toggle('active-mode'); } });
Overall it works great , Happy coding 😇 & Keep contributing these amazing solutions 🚀
2 - please give
Please log in to post a comment
Log in with GitHubJoin our Discord community
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