Design comparison
Solution retrospective
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
- @danielmrz-devPosted 7 months ago
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 helpful1 - @0xabdulkhaliqPosted 7 months ago
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 forbody
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
forbody
instead ofheight: 100vh
. Setting theheight: 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 thebody
will have100vh
height no matter what. Even if the content spans more than100vh
of viewport.
- But if we set
min-height: 100vh
then thebody
will start at100vh
, if the content pushes thebody
beyond100vh
it will continue growing. However if you have content that takes less than100vh
it will still take100vh
in space.
.
I hope you find this helpful π Above all, the solution you submitted is great !
Happy coding!
1@ChrisJRM92Posted 7 months ago@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@0xabdulkhaliqPosted 7 months ago@ChrisJRM92 Glad you found it helpful ! π€
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