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... with the help of HTML and CSS

@radhaBharadwaj

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?

I add Shadow to the container

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

shadow is the challenging

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

shadow

Community feedback

P
Nico 330

@Nico243

Posted

Good job on this project.

We want to focus more on semantic tags as we progress through the course instead of always using div container.

You can make use of <main class="main--container">

<main> <img src="assets/images/illustration-article.svg" alt="illustration" class="illustration--img"/> <button>Learning</button> <p class="publish">Published 21 Dec 2023</p> <h1>HTML & CSS foundations</h1> <p>These languages are the backbone of every website,defining structure,content,and presentation.</p> <div class="img--Con"> <img src="assets/images/image-avatar.webp" alt="photo" class="photo"/> <p class="name">Greg Hooper</p> </div> </main>

You want to focus on readability in your class names. You can Use -- or __ to create a space between two words. Making it easier to read. It's known as the BEM (Block Element Modifier)

BEM has a few advantages.

  1. Consistency
  2. Reusability
  3. Avoids conflicts
  4. Scalability, As our projects grows larger we want to implement BEM to help avoid conflicts, redundancy, conflicts etc.

Remember that practice makes perfect

Happy coding

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