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

2nd attempt

xatracho• 95

@xatracho

Desktop design screenshot for the Stats preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


I was not able to align the paragraphs in the stats section. How would I have done that?

Any other feedback is welcome.

Community feedback

Vanza Setia• 27,855

@vanzasetia

Posted

👋Hi xatracho!

The CSS doesn't load correctly. It because your CSS folder name is all uppercased, while your href="css/style.css" is pointing to css (lowercase).

Try to write a better HTML, like using ul and li for stats, you should use strong tag rather a heading tag for the stats number (use heading for titling section).

That's it! Hopefully this is helpful!

Marked as helpful

1

xatracho• 95

@xatracho

Posted

@vanzasetia OMG thank you! That is extremely helpful and definitely makes more sense than using h2, & paragraphs tags since they are block level elements and makes the formatting extremely tedious. Is there a way I can make those changes without having to start the challenge over again? If not, that's fine, just for future reference.

0
Vanza Setia• 27,855

@vanzasetia

Posted

@xatracho You can make the changes without start over. Just, clone your project from GitHub (if you deleted the local repository) then, you can make changes and push it again to the GitHub.

Another way of doing it, you can just edit your code directly in your GitHub repo and push it directly.

I recommend to choose the first way. That way you can see the changes directly on the localhost.

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