Vanilla JS heavy project

Solution retrospective
I used an empty (except the img) HTML div and its children as a template to clone the cards.
How did I do?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @elaineleung
Hi Tbrownlee, I think you did a great job using async/await and also in creating divs for the data! 🙂 Also I think while your solution is slightly smaller than the design, it does look fairly close to the original, so maybe if you increase the font size and some padding, you'd be fairly spot on.
I think as a further challenge, you can see whether you can make the code more DRY because I do think it's possible. Since you are now well able to use
for
loops, you can also try usingforEach
for iteration also.Once again, well done, and hope to see more 😊
Marked as helpful
Join 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