Design comparison
Community feedback
- @VCaramesPosted about 2 years ago
Hey there! 👋 Here are some suggestions to help improve your code:
-
To better specify the main content of you site you will want to encase your entire component inside a Main Element.
-
The only heading in this component is the “Get insights that help your business grow” everything else will be wrapped in a Paragraph Element.
-
The statistics component is a list of statistics, so it should be built using an Unordered List along with a List Items Element.
-
This challenges requires the use of two images 🎑 for different breakpoints. The Picture Element will facilitate this.
Here is an example of how it works: EXAMPLE
Syntax:
<picture> <source media="(min-width: )" srcset=""> <img src="" alt=""> </picture>
More Info:
https://www.w3schools.com/html/html_images_picture.asp
https://web.dev/learn/design/picture-element/
- To get the image to look like the FEM example, you are going to want to use the Mix-Blend-Mode along with the Multiply Value and include a Opacity with the value of 0.8.
Code:
img { opacity: 0.8; mix-blend-mode: multiply; }
If you have any questions or need further clarification, let me know.
Happy Coding! 👻🎃
Marked as helpful1@Hassan-WanasPosted about 2 years ago@vcarames
I am really thankful to you, I was wondering how to change the photo. also the color of it. And I have a question to which I know its answer, but I still want someone to tell me to do it. do I really need to refine my code, make the changes you told me, and learn these new things?
You look expert to me. so, I earned my first certificate on FreeCodeCamp for HTML and CSS, should I take all the challenges related to them here first and then go for JavaScript, or should I start on it right now?
And the last one, did you get a job after all this learning and all those points?
0@Hassan-WanasPosted about 2 years ago@vcarames I tried it out, but the mix-blend-mode didn't work like the FEM example
0@VCaramesPosted about 2 years ago@Hassan-Wanas
For the
mix-blend-mode
you want to ensure that the images have the same background color of the text component's.I still have a lot to learn.
I definitely recommend going the Frontend Mentor Slack channel. People have posted there journeys their about how they have gotten jobs.
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