four-card-feature-section with #flexbox
Design comparison
Solution retrospective
Any feedback is highly welcomed. iif there's anything you feel i should have added or done please tell it to me...
Community feedback
- @vanzasetiaPosted about 2 years ago
Hello, Oyasi! ๐
Congratulations on completing this challenge! ๐
One suggestion I have is to learn how to use heading tags correctly.
There's should not be two
h1
in the page. If you want to move the text to the next line, wrap the text withspan
. Then, make thespan
as a block element.I recommend reading the "How-to: Accessible heading structure - The A11Y Project" article to learn how to use headings correctly.
That's it! I hope this information is useful!
Marked as helpful0@OyasikellyPosted about 2 years ago@vanzasetia Thank you very much. I have changed it to one h1 element now, and then span it. You can check out the code. I appreciate your contribution and the correction.
0@vanzasetiaPosted about 2 years ago@Oyasikelly
You are welcome! ๐
I said to make the
span
element as a block element (display: block
).Avoid using
br
elements for presentational purposes. Read the "Accessibility concerns" part of the MDN documentation forbr
.Marked as helpful0@OyasikellyPosted about 2 years ago@vanzasetia Thanks once again. I have removed the (</br>) and set the (display : block).
0@vanzasetiaPosted about 2 years ago@Oyasikelly It is not removed on the source code (and on the live site as well).
Have you updated the code in the GitHub repository with the latest changes?
0 - @correlucasPosted about 2 years ago
๐พHello Oyasi Kelly, Congratulations on completing this challenge!
Great code and great solution! Iโve few suggestions for you that you can consider adding to your code:
The box-shadow is a bit too strong, this is due the
opacity
andblur
. The secret to create a perfect and smooth shadow is to have low values foropacity
and increaseblur
try this value instead:box-shadow: 12px 7px 20px 6px rgb(57 75 84 / 8%);
If youโre not familiar to box-shadow you can use this site to create the shadow design and then just drop the code into the CSS: https://html-css-js.com/css/generator/box-shadow/
โ๏ธ I hope this helps you and happy coding!
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