Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Card component

Christian Rβ€’ 20

@ChrisJRM92

Desktop design screenshot for the Results summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

Along the way completing this challenge it helped me understand many things, such as CSS layout and consuming data from a .json file using javascript, in my next challenge I will use grid box to better understand the layout of a web page.

What challenges did you encounter, and how did you overcome them?

A challenging challenge for a learner, the biggest challenge was the issue of responsive design, data consumption from the .json file and obtaining the average result of all the values with javascript, overcome these challenges with the help of chatGPT as a guide and remembering the fundamentals of javascript.

What specific areas of your project would you like help with?

I would like to know more about javascript and data consumption, also in a future challenge use React for the creation and reuse of components.

Community feedback

Daniel πŸ›Έβ€’ 38,870

@danielmrz-dev

Posted

Hello there!

Congrats on completing the challenge! βœ…

Your solution looks excelent!

I have just one suggestion:

πŸ“Œ To improve semantic clarity, try your best to stick to one <h1> per page for the main title.

It's more than just text size β€” it's about structuring your content effectively:

  • <h1> to <h6> are used to define HTML headings, with <h1> being the most significant.
  • And maintain the titles hierarchy with <h1>, <h2> <h3>, and so on.

While these adjustments might not alter the visual appearance much, they significantly enhance semantic clarity, SEO optimization, and accessibility.

Hope this suggestion proves helpful! Keep up the great work!

Marked as helpful

1
Abdul Khalid πŸš€β€’ 72,160

@0xabdulkhalid

Posted

Hello there πŸ‘‹. Congratulations on successfully completing the challenge! πŸŽ‰

  • I have a suggestion regarding your code that I believe will be of great interest to you.

BODY MEASUREMENTS πŸ“:

  • The width: 100% property for body element is not necessary. because it's a block level element which will take the full width of the page by default.
  • Use min-height: 100vh for body instead of height: 100vh. Setting the height: 100vh may result in the component being cut off on smaller screens, such as mobile devices in landscape orientation.
  • For example; if we set height: 100vh then the body will have 100vh height no matter what. Even if the content spans more than 100vh of viewport.
  • But if we set min-height: 100vh then the body will start at 100vh, if the content pushes the body beyond 100vh it will continue growing. However if you have content that takes less than 100vh it will still take 100vh in space.

.

I hope you find this helpful πŸ˜„ Above all, the solution you submitted is great !

Happy coding!

1

Christian Rβ€’ 20

@ChrisJRM92

Posted

@0xabdulkhalid Thank you for your suggestions, this is my second challenge and I still have a lot to learn, I will implement these improvements in the challenge, best regards

0
Abdul Khalid πŸš€β€’ 72,160

@0xabdulkhalid

Posted

@ChrisJRM92 Glad you found it helpful ! 🀠

Marked as helpful

0

Please log in to post a comment

Log in with GitHub
Discord logo

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