scrimba
Frontend Career Path
Essential CSS concepts
Build an NFT Site
CSS organisation new
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

AboutCommentsNotes
CSS organisation new
Expand for more info
index.css
run
preview
console
/* 
Challenge:
1. Use comments to divide up the CSS
into segments.
⚠️ Don't use too many comments!
*/

body{
font-size: 16px;
color: #2b283a;
font-family: 'Roboto', sans-serif;
margin: 0;
}

header{
background-color: #5f29a3;
padding: 45px 0;
}

h1{
color: whitesmoke;
font-size: 36px;
margin: 0;
}

h2{
margin: 0;
}

h3{
color: #d0aaff;
font-size: 20px;
margin:0;
}

a{
color: #ef5839;
text-decoration: underline dotted;
}

a:hover{
color: #d4b44c;
}

a:active{
color: #d4b44c;
}

section{
padding: 45px 0;
}

.main-image{
width:100%;
}

.container{
width: 620px;
margin: 0 auto;
}
Console
/index.html#
-3:16