Design comparison
SolutionDesign
Solution retrospective
feedbacks are welcome
Community feedback
- @RadasinPosted over 1 year ago
Id's should be unique, you can remove id from clone by using
clone.removeAttribute("id");
. Use rem, em or % instead of px. Don't style sections, or any element that you can have more then once in html, give them a class. You can use the fetch function to get the data from json:fetch("./data.json").then((response) => { return response.json(); }).then( (data) => { //read the parsed json data ));
Marked as helpful0
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