Design comparison
Solution retrospective
Hello. I'm William Klaiwonpen from Bangkok Thailand. This HTML & CSS project is improve my basic skills so i'm not sure about size for design.
If you have any suggestions on how I can improve this project, feel free to leave me a comment!
Feedback welcome š
Community feedback
- @danielmrz-devPosted 10 months ago
Hello William!
Your solution looks great!
I have a couple of suggestions:
- Since you set grid to the body, but you didn't set the size of the rows, your footer is pushing your card up a little bit. You can prevent that from happening adding this to the body:
grid-template-rows: 90% 1fr;
Then your card will always occupy 90% of the space and the footer will adapt in the remaining space.
- Also, for semantic reasons, and since that is the main title of the screen, you can replace the
<p>
with<h1>
. Unlike what most people think, it's not just about the size and weight of the text.
š The
<h1>
to<h6>
tags are used to define HTML headings.š
<h1>
defines the most important heading.š
<h6>
defines the least important heading.š Only use one
<h1>
per page - this should represent the main heading/subject for the whole page. Also, do not skip heading levels - start with<h1>
, then use<h2>
, and so on.I hope it helps!
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