Design comparison
Community feedback
- @OmarMAttia7Posted almost 3 years ago
Congratulations on finishing the challenge :). You have a few problems with standard html5 semantic markup, most of them are in the report of your solution.
- All your
<img>
elements should have analt
attribute that describes the image for people who can't view the images like so<img src="images/image-avatar.png" alt="Jules Wyvern">
. - The main content of your page should be contained within a
<main>
element or something equivalent, like so<main> <div class="card-main">
- Your page should have one
<h1>
element, in this case it should be<h1 class="nft-name"> Equilibrium #3429</h1>
you can adjust the font-size using css.
1 - All your
- @denieldenPosted almost 3 years ago
Hi Uzair, great job :)
Flexbox aligns to the size of the parent container: for center the card try using Flexbox and
height:100vh
to thebody
and remove all margin from the.card-main
class.Viewport Height handles the sizing of an element in relation to the height of the browser window.
Also look at the report issues. Images must have
alt
text, it's very important!Happy coding!
1 - @rsrclabPosted almost 3 years ago
Hi, @ingnall ~
Congratulate on your solution to the challenge on FM platform. I have studied your work carefully and learned a lot from it.
Here are some of the tips I like to provide.
- I suggest you to try transition on hoverable elements like image, heading and creator name.
- Please try BEM for naming element classes. It will help you a lot on bigger projects.
- Image tags must have alt attributes as standard.
https://www.frontendmentor.io/solutions/my-first-solution-on-chanllenge-V-4IzAivH
Here is my solution to this challenge, and if it can help you even a bit, it would be happy to me.
Cheers ~
1
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