scrimba
Frontend Career Path
Web dev basics
Build a Birthday GIFt Site
Create two more GIFts
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
Create two more GIFts
Expand for more info
styles.css
run
preview
console
body {
text-align: center;
font-family: 'Happy Monkey', cursive;
background: #a2d2ff;
color: #ffffff;
}

h1, h2, h3, h4, p {
text-shadow: 0 0 1px black;
}

#bff-img {
width: 150px;
border-radius: 50%;
border: 6px solid #EFB0C9;
margin-bottom: 10px;
}

#bday-age {
background: #EFB0C9;
padding: 5px 10px;
border-radius: 5px;
margin: 5px 0 10px 0;
}

#bday-date {
margin: 0;
background: #EFB0C9;
padding: 5px 10px;
border-radius: 5px;
}

#header {
display: flex;
flex-direction: column;
align-items: center;
}

.gift-section {
margin-top: 50px;
}

.gift-title {
margin-bottom: 10px;
}

.gift-hint {
margin-top: 0;
}

.gift-img {
margin: 20px auto;
width: 400px;
height: 400px;
border: 6px solid white;
border-radius: 10px;
background-image: url("images/gift-cover.jpg");
background-size: cover;
}

#gift-img-happy:hover {
background-image: url("images/happy.gif");
}

#gift-img-hot:hover {
background-image: url("images/hot.gif");
}


/*
Challenge:
Create the "genius" and "badass" GIFt sections.

Texts:
If I had to describe you with ONE word 👇

The only person as badass as you 💪

*/
Console
/index.html
-2:33