Design comparison
SolutionDesign
Community feedback
- @AungKhantHein314Posted over 2 years ago
Hello!
Your code is well-structured and readable.
It would be better and more interactive to use fetch for data fetching instead of copying the data.
fetch(./data.json).then(response => response.json()).then(datas => func(data))
Marked as helpful1
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