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

Blog Preview Card

P

@Ismail-tony

Desktop design screenshot for the Blog preview card 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?

Getting more comfortable with using margin and paddings.

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

Trying to make everything the exact same measurement, wasn't able to do it but more motivation to improve on my css skills.

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

Not sure what the best measurement to be using for the css, but i have been using rem.

I also want to understand how to use calc.

Community feedback

@saularanguren

Posted

Greetings friend, I invite you to continue learning html and css, on YouTube you can find endless material totally free to learn and/or improve your knowledge in these technologies, remember never stop learning, your solution is fine but it can always be improved , learn to work with CSS frameworks and pre-processors that will make your work easier, I recommend TailwindCSS and SASS, improve your architecture to write clean and scalable CSS code, happy coding

Marked as helpful

1

P

@Ismail-tony

Posted

@saularanguren Thank you very much, I will keep working hard.

0
Daniel šŸ›øā€¢ 44,230

@danielmrz-dev

Posted

Hey @Ismail-tony!

Your solution is really impressive!

I've got a couple of ideas (about how to use HTML better) that could make it even stronger:

šŸ“Œ First: Think about using <main> to wrap your main content instead of <div>.

Imagine <div> and <span> in HTML as basic containers. They're good for holding stuff, but they don't tell us much about what's inside or its purpose on the webpage.

šŸ“Œ Second: Consider using <h1> for your main title instead of <h2>.

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

  • The <h1> to <h6> tags are used to define HTML headings.
  • <h1> is for the most important heading.
  • <h6> is for the least important heading.
  • Stick to just one <h1> per page ā€“ it should be the main title for the whole page.
  • And don't skip heading levels ā€“ start with <h1>, then use <h2>, and so on.

These tweaks might not change how your page looks, but they'll make your HTML code clearer and help with SEO and accessibility.

Hope that's helpful!

Keep up the great work!

Marked as helpful

1

P

@Ismail-tony

Posted

@danielmrz-dev Thank you so much.

1

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