Blog preview card using HTML, CSS, and Bootstrap
Design comparison
Solution retrospective
Anything you can help me with :)
Community feedback
- @DylandeBruijnPosted 4 months ago
@milescasibua
Hiya! š
Congratulations on your solution, it looks very close to the design! I can tell you put a lot of effort into it.
Things I like about your solution š
- Use of semantic HTML elements
Things you could improve āļø
-
You could add a
min-height: 100vh
to yourbody
element so it takes up the full height of the viewport while still being able to grow when the content inside it grows. -
Try experimenting with CSS variables, they help you make your CSS values more reusable across your code.
-
I suggest using clear descriptive CSS classes like
.card
,.card-title
and.card-description
. -
I recommend using vanilla HTML and CSS first to learn the fundamentals before using something like Bootstrap.
-
Try making your solution responsive.
-
Try centering your card using Flexbox.
I hope you find my feedback valuable, and I would appreciate it greatly if you could mark my comment as helpful if it was! š
Let me know if you have more questions and I'll do my best to answer them. šāāļø
Happy coding! š
Marked as helpful0 - @danielmrz-devPosted 4 months ago
Hello there!
Congrats on completing the challenge! ā
Your solution looks excelent!
I have just one suggestion:
š To improve semantic clarity, try to maintain the titles hierarchy with
<h1>
,<h2>
<h3>
, and so on.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.
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!
0
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