HTML, CSS , CSS GRID, GIT , BEM , FIRST MOBILE
Design comparison
Solution retrospective
I would like you to tell me if the BEM nomenclature is well applied, and any other recommendations or observations for improvement would be welcome.
Community feedback
- @danielmrz-devPosted 5 months ago
Hey there! šš½āāļø
Congrats on finishing the challenge! ā
Your project looks awesome!
Here's a tip that might interest you:
š When you have different versions of the same image, consider using the
<picture>
tag.This will help ensure the correct image loads on the user's device, saving bandwidth and boosting performance.
Example:
<picture> <source media="(min-width: 768px)" srcset="{desktop image path here}"> <img src="{mobile image path here}" alt="{alternative text here}"> </picture>
Hope you find this useful!
Great job overall!
Marked as helpful0@JuniorFrontDevPosted 5 months ago@danielmrz-dev Hello, I just implemented the picture syntax for different images, I had two questions that I hope you can help me solve, the first is if this syntax has good support in browsers, I couldn't find much about that on caniuse.com, the second The question is that I noticed that my container at a resolution of 1440px grew a little, so why is that happening and is it not the same as when I applied a div container?
1@danielmrz-devPosted 5 months ago@JuniorFrontDev This syntax has a very good browser compatibility.
About the container growing, I checked your project and that behaviour is not happening here. I've tried on different browsers and it didn't happen.
The tag change should not cause this behaviour though. It's probably something else.
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