Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Four Card Feature Section with HTML and CSS

isabela limaβ€’ 35

@isabelalims

Desktop design screenshot for the Four card feature section coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hi!

I still don't know how to build my page responsively, applying it to the code I wrote. can someone help me?

Thank you!

Community feedback

Roc Tanweerβ€’ 2,500

@RocTanweer

Posted

Hello πŸ‘‹ Isabela, For responsiveness, you could do something like this...

h1{ 
color : blue; 
}
@media {max-width : 768px} {
h1{
color : red;
}
}

this code says that the color of h1 is blue but when the size of screen is below or at 768px the color of h1 is red.

like h1, you can change the property of any element at certain width...this is called responsiveness. Remember to use relative units like rem And avoid using px.

Hope it helps ☺️

1

Roc Tanweerβ€’ 2,500

@RocTanweer

Posted

@RocTanweer One more thing...

max-width : 768px mean...for screen width 768px or less.

You may also use min-width...

min-width : 768px implies for screen width 768px or more.

0
isabela limaβ€’ 35

@isabelalims

Posted

@RocTanweer Hi! Thanks for your explanation, it helped me a lot! I'm gonna study more about responsive design, this is getting in the way of creating better pages.

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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