scrimba
Frontend Career Path
Essential CSS concepts
Build an NFT Site
The first section - text
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
The first section - text
Expand for more info
index.css
run
preview
console
body{
font-size: 16px;
color: #2b283a;
font-family: 'Roboto', sans-serif;
margin: 0;
}

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

/*
Challenge:
1. Add CSS so the text in the first section
renders correctly.
⚠️ Watch out for the amount of white space
you have between the start of the section
and the h2.
⚠️ Don't write too much code!
*/

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

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

section{
padding: 45px 0;
}

.main-image{
width:100%;
}
Console
/index.html#
-5:49