Design comparison
Solution retrospective
Feedback welcome!
Community feedback
- @JaneMorozPosted about 2 years ago
Hey there 👋 Love you solution ❤️
The only thing I've noticed:
- Inline styles are considered "bad practice", so it's better to remove (height and width) from <img> tag and add width to style.css:
article img { width: 100%; border-top-left-radius: 15px; border-top-right-radius: 15px; }
Keep it up! And good luck 🍀
Marked as helpful1@yishak621Posted about 2 years ago@cdr-in you also didn't correctly work for mobile version
0@cdr-inPosted about 2 years ago@yishak621 I know I did not. I didn’t learn to make a responsive web for mobile yet. I’m focusing on mastering html and css strictly for pc websites. After that, I’m going to make them all responsive for mobile too.
0@yishak621Posted about 2 years ago@cdr-in it is very easy to make responsive all u have to do is to write a Media query for different screen sizes in general mostly for pc,for tabs and mobile versions.for example if you start ur css by designing for pc then you should target a media query for mobile versions ...for example if u have a box with a size of 10rem width and 10rem height then displaying it to small screens will be ugly design so all u have to do is decreasing the size so u can write it like these max-width 800px means that for screens <800px (mobile version)
@media screen (max-width:800px){ .box{ width:5rem; height:5rem; } }
0@yishak621Posted about 2 years ago@cdr-in it is very easy to make responsive all u have to do is to write a Media query for different screen sizes in general mostly for pc,for tabs and mobile versions.for example if you start ur css by designing for pc then you should target a media query for mobile versions ...for example if u have a box with a size of 10rem width and 10rem height then displaying it to small screens will be ugly design so all u have to do is decreasing the size so u can write it like these max-width 800px means that for screens <800px (mobile version)
@media screen (max-width:800px){ .box{ width:5rem; height:5rem; } }
0 - @yishak621Posted about 2 years ago
Awesome design and also the svg background must be
body { background-color: url(images/pattern-background-mobile.svg) no-repeat; }
try these it shouldn't repeat itself0
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