Responsive landing page using JS, CSS Grid and Flexbox
Design comparison
Solution retrospective
Hi everybody!
This was the most difficult challenge I've done so far. I think it'd be best to use React for it, but I don't feel yet comfortable enough with using it, so decided to go with pure js. That made some problems and required a lot of hard thinking, but I'm quite happy with the outcome.
I'd be very grateful if you could take a look at my code, especially js, and give me your thoughts about it.
At the beginning I was thinking about using js class to create pledges components and to inject them to the website by js, but it got too difficult to handle so many connections between different components and active states. I think I'd return to this challenge when I'm ready to try React on it.
Thanks in advance for sharing any advices and remarks!
Community feedback
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