Design comparison
Solution retrospective
Hello everyone! I recently completed the challenge and I'm excited to share my work with the community. I put a lot of effort into this project and would love to hear your thoughts and suggestions on my code. As a developer, I'm always looking to improve my skills and learn from others, so any feedback you can provide would be greatly appreciated. Please take a look at my project and let me know what you think - I'm looking forward to hearing from you!
Community feedback
- @GeorgenicoPosted over 1 year ago
Hi there!
Great job! I suggest that you can remove the absolute position on the image, as it may no longer be necessary. You could consider incorporating this change into your code.
class name of your image { mix-blend-mode: multiply; opacity: 0.75; }
Hope you this helps you!
1@Munsif-AliPosted over 1 year ago@Georgenico Thanks for your valuable feedback actually the absolute position is for a reason i want to position the
::after
(which is the filter) with that element by position relative. I haven't taken a separate tag for the filter but i am applying filter on the image using::after
.0 - @HassiaiPosted over 1 year ago
For the color of the image, Give .image-section background-color of soft violet and add mix-blend-mode: multiply and opacity:0.8 to the img.
.image-section{ background-color: hsl(); } img{ width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: 0.8; }
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
0 - @0xabdulkhaliqPosted over 1 year ago
Hello there 👋. Congratulations on successfully completing the challenge! 🎉
- I have other recommendations regarding your code that I believe will be of great interest to you.
HTML 🏷️:
- This solution generates accessibility error reports, "All page content should be contained by landmarks" is due to
non-semantic
markup, which lack landmark for a webpage
- So fix it by replacing the
<div class="card">
element with the semantic element<main>
along with<div class="attribution">
into a<footer>
in yourindex.html
file to improve accessibility and organization of your page.
- What is meant by landmark ?, They used to define major sections of your page instead of relying on generic elements like
<div>
or<span>
- They convey the structure of your page. For example, the
<main>
element should include all content directly related to the page's main idea, so there should only be one per page
.
I hope you find this helpful 😄 Above all, the solution you submitted is great !
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