Responsive results component using HTML, CSS and pure JS

Please log in to post a comment
Log in with GitHubCommunity feedback
- @hellcsaba
Hi eMKa18,
Nice solution! I checked your code and live site, here's my feedback. In appearance the only difference I can see (maybe it's intentional) that the background color of the different skills are too strong. Your code is well-structured and readable which is great. You mention in the tags that you used React for the project but I don't see it in the code. Currently you have everything in the HTML except the data, that you get by a fetch call in the JS file (
getData()
). Additionally, you could have created a component for the skill and populate the DOM through JavaScript. For example a renderSkills function where you retrieve thesummary
div and through a for loop you append each skill to that div. Each skill is a component filled with the correct data.Overall, your solution is great and what I've mentioned above is a way to make it more reusable.
Happy coding!
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