Full Code of scrimba/learn-html-and-css for AI

main 0241fc3da83f cached
165 files
94.7 KB
34.5k tokens
5 symbols
1 requests
Download .txt
Repository: scrimba/learn-html-and-css
Branch: main
Commit: 0241fc3da83f
Files: 165
Total size: 94.7 KB

Directory structure:
gitextract_ffi8nvge/

├── 1. Build and deploy your first website/
│   ├── 1. Welcome to the HTML and CSS course/
│   │   ├── index.html.html
│   │   └── styles.css
│   ├── 10. Aside - Anchor Tags/
│   │   ├── index.html
│   │   └── work.html
│   ├── 11. Add an anchor tag to Google.com/
│   │   ├── blog.html
│   │   ├── index.html
│   │   └── styles.css
│   ├── 12. Proper document structure/
│   │   ├── blog.html
│   │   ├── index.html
│   │   └── styles.css
│   ├── 13. Aside - Lists/
│   │   └── index.html
│   ├── 14. Build a Personal Website/
│   │   ├── index.html
│   │   ├── index.js
│   │   └── styles.css
│   ├── 2. HTML tags/
│   │   └── index.html
│   ├── 3. Write a news article/
│   │   └── index.html
│   ├── 4. The img tag/
│   │   └── index.html
│   ├── 5. Nesting/
│   │   └── index.html
│   ├── 7. Interactive elements - button/
│   │   └── index.html
│   ├── 8. Interactive elements - input tags - input types/
│   │   └── index.html
│   └── 9. Lets build Google/
│       ├── index.html
│       └── styles.css
├── 2. Build a Google.com clone/
│   ├── 1. Lets Learn CSS/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 10. CSS classes/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 11. Aside - Learn margins via flags/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 12. Add space between our elements/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 13. Aside - centering with margins/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 14. Centering our content/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 15. Aside - padding/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 16. Aside - border and border-radius/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 17. Aside challenge - style Twitter button/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 18. Fix the input field/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 19. Center the button/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 2. Write your first lines of CSS/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 20. Style the button/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 21. Why we cant have two block-level buttons/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 22. Aside - flexbox/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 23. Centering both buttons with flexbox/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 3. Write your first lines of CSS - Solution/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 5. Link to the CSS file/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 6. Set the width of the elements/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 7. Inline vs block elements/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 8. Margin top/
│   │   ├── index.html
│   │   └── styles.css
│   └── 9. Divs rule the world/
│       ├── index.html
│       └── styles.css
├── 3. Build a digital Business Card/
│   ├── 1. Building your digital Business Card/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 10. Center the card/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 11. Aside - inheritance/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 12. Center the text via inheritance/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 13. Add colors/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 14. Web-safe fonts/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 15. Aside - Margin padding shorthand/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 16. Use the margin and padding shorthands/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 17. Make it your own/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 2. Fix the image path/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 3. Add alt attribute/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 4. Make image smaller/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 5. Add a border and padding/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 6. Aside - flexbox child containers/
│   │   └── index.html
│   ├── 7. Flex item containers/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 8. Add a utility class/
│   │   ├── index.html
│   │   └── styles.css
│   └── 9. Justify the items/
│       ├── index.html
│       └── styles.css
├── 4. Build a Space Exploration Site/
│   ├── 1. Lets go to space/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 11. Add the terms and conditions section/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 12. Aside - text shadow/
│   │   ├── index.css
│   │   └── index.html
│   ├── 13. Improving the readability with text shadows/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 2. Add a background image from unsplash/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 3. Center elements and style button/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 4. Add a Google Font/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 5. font-face/
│   │   ├── index.css
│   │   ├── index.html
│   │   └── index.js
│   ├── 6. Aside - spans/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 7. Add an underline using a span/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 8. Use an ID for the logo/
│   │   ├── index.html
│   │   └── styles.css
│   └── 9. Replace the jpg with a webp/
│       ├── index.html
│       └── styles.css
├── 5. Build a Birthday GIFt Site/
│   ├── 1. Let's build a birthday GIFt site/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 10. Create the first gift/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 11. Replacing the img with a div/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 12. Aside - make elements change on hover/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 13. Add the hover effect/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 14. Create the next GIFt/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 15. Create two more GIFts/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 16. Create the final GIFt/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 17. Add the footer/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 18. Add a background gradient/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 19. Personalize the Birthday GIFt Site/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 2. Add basic header styling/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 3. Set the colors/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 4. Add shadow on text/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 5. We have a problem that flexbox can fix/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 6. Aside - align-items/
│   │   ├── index.css
│   │   └── index.html
│   ├── 7. Aside - flex-direction/
│   │   ├── index.css
│   │   └── index.html
│   ├── 8. Turn the header into a flexbox/
│   │   ├── index.html
│   │   └── styles.css
│   └── 9. Fix date and age design/
│       ├── index.html
│       └── styles.css
├── 6. Solo Project Hometown Homepage/
│   └── 2. Solo Project - Hometown Homepage/
│       ├── index.html
│       └── styles.css
└── README.md

================================================
FILE CONTENTS
================================================

================================================
FILE: 1. Build and deploy your first website/1. Welcome to the HTML and CSS course/index.html.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Happy+Monkey&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <div id="header">
            <h1>Today is Nick's birthday 🎉</h1>
            <img id="bff-img" src="images/nick.jpg">
            <h2 id="bday-age">24 years old</h2>
            <h4 id="bday-date">01.11.2022</h4>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">Here's how happy I am for you today 🥳</h2>
            <h3 class="gift-hint">(Hover over the gift)</h3>
            <div class="gift-img" id="gift-img-happy"></div>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">How people react when you enter the room 😍</h2>
            <div class="gift-img" id="gift-img-hot"></div>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">If I had to describe you with ONE word 👇</h2>
            <div class="gift-img" id="gift-img-genius"></div>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">The only person as badass as you 💪</h2>
            <div class="gift-img" id="gift-img-badass"></div>
        </div>
        
         <div class="gift-section">
            <h2 class="gift-title">This one's for you, my friend 🥂</h2>
            <div class="gift-img" id="gift-img-cheers"></div>
        </div>
        
        <!-- Add the footer here. -->
        <p id="footer">Want to create your own Birthday GIFt site? Take <a href="https://scrimba.com/learn/htmlandcss" target="_blank">this HTML & CSS course.</a></p>
        
    </body>
</html>

================================================
FILE: 1. Build and deploy your first website/1. Welcome to the HTML and CSS course/styles.css
================================================
/*
Challenge:
Change the site's background into a gradient that goes
from blue at the top to pink at the bottom.
*/

body {
    text-align: center;
    font-family: 'Happy Monkey', cursive;
    background: linear-gradient(#a2d2ff, #EFB0C9);
    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-cheers {
    height: 200px;
}

.gift-img {
    margin: 20px auto;
    max-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");
}

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

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

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

#footer {
    font-style: italic;
    width: 400px;
    margin: 40px auto 20px;
}

a {
    color: white;
}

/* 
Add the footer paragraph according to the design. 
Configure the anchor tag to open the link in a new tab.
Forgotten how to do it? Google it! 

Link: 
https://scrimba.com/learn/htmlandcss

Text:
Want to create your own Birthday GIFt site? Take this HTML & CSS course.
*/

================================================
FILE: 1. Build and deploy your first website/10. Aside - Anchor Tags/index.html
================================================
<!DOCTYPE><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css"><h1>Per Harald Borgen 👨‍💻</h1>
<p>Developer | Teacher | Procrastinator</p>


================================================
FILE: 1. Build and deploy your first website/10. Aside - Anchor Tags/work.html
================================================
<!DOCTYPE><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css"><h1>My work ️💅</h1>
<h2>Project 1: Google.com</h2>
<p>I built this one as a part of Scrimba's HTML&CSS course.</p>
<!--
Challenge:
Create an anchor tag that links back to the index.html page 
-->




================================================
FILE: 1. Build and deploy your first website/11. Add an anchor tag to Google.com/blog.html
================================================
<!DOCTYPE><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css"><h1>Not much to see here</h1>

<p>Return <a href="index.html">back to Google.</a></p>



================================================
FILE: 1. Build and deploy your first website/11. Add an anchor tag to Google.com/index.html
================================================
<!DOCTYPE><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css"><!-- IGNORE THIS LINE 👇 -->
<link rel="stylesheet" href="styles.css">

<img src="google.png">
<input type="text">
<button>Google Search</button>
<button>I'm Feeling Lucky</button>

<!--
Challenge:
Add the anchor tag that points to blog.html.
The link should be wrapped in a <p> tag.
-->




================================================
FILE: 1. Build and deploy your first website/11. Add an anchor tag to Google.com/styles.css
================================================
body, html {
    margin: 0;
    padding: 0; 
}

img {
    width: 30%;
    display: block;
    margin: 100px auto 20px;
    min-width: 272px;
}

input {
    box-sizing: border-box;
    display: block;
    border-radius: 24px;
    border: 1px solid rgb(223, 225, 229);
    height: 44px;
    margin: 0 auto 29px;
    max-width: 564px;
    width: 90%;
    padding-left: 30px;
    font-size: 16px;
}

button {
    box-sizing: border-box;
    margin-top: 0;
    padding: 0 16px;
    font-size: 14px;
    height: 36px;
    background-color: #f8f9fa;
    border: 1px solid #f8f9fa;
    cursor: pointer;
}

button:first-of-type {
    margin-right: 8px;
    margin-left: calc(50% - 131.5px);
}

button::hover {
    cursor: pointer;
}

p {
    text-align: center;
    margin-top:40px;
}



================================================
FILE: 1. Build and deploy your first website/12. Proper document structure/blog.html
================================================
<!DOCTYPE><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css"><h1>Not much to see here</h1>
<p>Return <a href="index.html">back to Google.</a></p>

<!--
Challenge:
Add proper HTML document structure to this page.
PS: don't copy/paste my tags, write them out on your own instead!
-->



================================================
FILE: 1. Build and deploy your first website/12. Proper document structure/index.html
================================================
<!DOCTYPE><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css"><link rel="stylesheet" href="styles.css">
<img src="google.png">
<input type="text">
<button>Google Search</button>
<button>I'm Feeling Lucky</button>
<p>We protect your privacy. <a href="blog.html">Learn how.</a></p>

================================================
FILE: 1. Build and deploy your first website/12. Proper document structure/styles.css
================================================
body, html {
    margin: 0;
    padding: 0; 
}

img {
    width: 30%;
    display: block;
    margin: 100px auto 20px;
    min-width: 272px;
}

input {
    box-sizing: border-box;
    display: block;
    border-radius: 24px;
    border: 1px solid rgb(223, 225, 229);
    height: 44px;
    margin: 0 auto 29px;
    max-width: 564px;
    width: 90%;
    padding-left: 30px;
    font-size: 16px;
}

button {
    box-sizing: border-box;
    margin-top: 0;
    padding: 0 16px;
    font-size: 14px;
    height: 36px;
    background-color: #f8f9fa;
    border: 1px solid #f8f9fa;
    cursor: pointer;
}

button:first-of-type {
    margin-right: 8px;
    margin-left: calc(50% - 131.5px);
}

button::hover {
    
}

p {
    margin-top: 40px;
    text-align: center;
}

a {
}



================================================
FILE: 1. Build and deploy your first website/13. Aside - Lists/index.html
================================================
<!doctype html>
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css"></head>
    <body></body>
</html>

<!--
Challenge:
Create an ordered list inside the <body> tag. 
Fill it with your top three favourite foods.
-->

================================================
FILE: 1. Build and deploy your first website/14. Build a Personal Website/index.html
================================================
<!doctype html>
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
        <link href="https://fonts.googleapis.com/css2?family=Bangers&family=Black+Ops+One&family=Creepster&family=La+Belle+Aurore&family=MedievalSharp&family=Orbitron&family=Rye&display=swap" rel="stylesheet">
        <script src="index.js"></script>
    </head>
    <body>
        <!-- 
        Challenge 1:
        Write the HTML for your personal website.
        -->
    </body>
</html>


================================================
FILE: 1. Build and deploy your first website/14. Build a Personal Website/index.js
================================================
// Challenge 2:
// Replace the parameters below according to your preference.

// space, scary, military, romantic, cowboy, fantasy, superhero
favouriteMovieGenre("regular")

// watermelon, tomato, banana, orange, avocado, blueberry
favouriteFruit("regular")

// light, dark
favouriteMode("light")

// sharp, soft, round
favouriteEdgeStyle("sharp")



////////////////////////////////////
// IGONE THE CODE BELOW THIS LINE //
////////////////////////////////////

function setProp(prop, value) {
    document.documentElement.style.setProperty(prop, value)
}

function favouriteEdgeStyle(style) {
    setProp("--image", "var(--" + style + ")");
}

function favouriteMovieGenre(font) {
    if (font) {
        setProp("--font", "var(--" + font + ")");    
    }
}

function favouriteMode(mode) {
    if (mode === "light" || !mode) {
        setProp('--background', "var(--light)");
        setProp('--text', "var(--dark)");
    } else if (mode === "dark") {
        setProp('--background', "var(--dark)");
        setProp('--text', "var(--light)");
    }
}

function favouriteFruit(theme) {
    if (theme === "pastel") {
        setProp('--light', "#f2f6c3")
        setProp('--dark', "#68c4af")
    } else if (theme === "muted") {
        setProp('--light', "#4c5b64")
        setProp('--dark', "#45241c")
    } else if (theme === "love") {
        setProp('--light', "#f06836")
        setProp('--dark', "#ba0001")
    } else if (theme === "sky") {
        setProp('--light', "#99ccff")
        setProp('--dark', "#3366ff")
    } else if (theme === "forrest") {
        setProp('--light', "#91B247")
        setProp('--dark', "#597C2B")
    }  else if (theme === "shiny") {
        setProp('--light', "#2e9afe")
        setProp('--dark', "#02197c")
    } else if (theme === "banana") {
        setProp('--light', "#fbec5d")
        setProp('--dark', "#6b3e26")
    } else if (theme === "watermelon") {
        setProp('--light', "#75b855")
        setProp('--dark', "#ad3838")
    } else if (theme === "tomato") {
        setProp('--light', "#d62e2e")
        setProp('--dark', "#600000")
    } else if (theme === "avocado") {
        setProp('--light', "#6b8c21")
        setProp('--dark', "#704012")
    } else if (theme === "orange") {
        setProp('--light', "#ffca16")
        setProp('--dark', "#f97300")
    } else if (theme === "blueberry") {
        setProp('--light', "#41a8f9")
        setProp('--dark', "#064490")
    } else  {
        setProp('--light', "#f5f5f5")
        setProp('--dark', "#222222")
    } 
}




================================================
FILE: 1. Build and deploy your first website/14. Build a Personal Website/styles.css
================================================
:root {
    --superhero: 'Bangers', cursive;
    --fantasy: 'MedievalSharp', cursive;
    --space: 'Orbitron', sans-serif;
    --military: 'Black Ops One', cursive;
    --romantic: 'La Belle Aurore', cursive;
    --scary: 'Creepster', cursive;
    --cowboy: 'Rye', cursive;
    --regular: sans-serif;
    --fantasy: 'MedievalSharp', cursive;
    --font: var(--regular);
    --sharp: 0;
    --soft: 10px;
    --round: 100px;
    
    --image: var(--soft);
    
    --background: #f5f5f5;
    --text: #222222;
    
    --light: var(--background);
    --dark: var(--text);
}


body, html {
    margin: 0;
    padding: 10px;
    background: var(--background);
    color: var(--text);
    font-family: var(--font);
}

img {
    width: 30%;
    border-radius: calc(var(--image) * 2);
    border: 4px solid var(--text);
}

a {
    color: var(--text);
}

input {
    display: block;
    margin: 20px 0 0;
    width: 160px;
    box-sizing: border-box;
    padding: 4px 8px;
    border-width: 1px; 
    border-style: solid;
    border-color:  var(--text);
    color: var(--text);
    background: none;
    border-radius: var(--image);
    font-family: var(--font);
}

::placeholder {
    color: var(--text);
}

button {
    border-radius: var(--image);
    padding: 5px 10px;
    border: none;
    background: var(--text);
    color: var(--background);
    font-weight: bold;
    box-sizing: border-box;
    display: block;
    margin: 8px 0;
    cursor: pointer;
    font-family: var(--font);
    width: 160px;
}


================================================
FILE: 1. Build and deploy your first website/2. HTML tags/index.html
================================================
<!DOCTYPE><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css"><h1>I code, therefore, I am</h1>
René Descartes

<!--
Challenge: 
Try to make our web page look the design 
in the provided slide.

Hint: what comes after 1?
-->

================================================
FILE: 1. Build and deploy your first website/3. Write a news article/index.html
================================================
<!DOCTYPE><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css"><!-- 
Challenge:
Create the news article from the slide.

Syntax example: 
<p>Hello world</p>

Text:
Humans have reached Mars
The Starship rocket successfully landed on the red planet this morning.
After a 115 days long journey, the crew of 12 finally arrived at their destination. This is the first time humans have set foot on a planet other than Earth.
-->

================================================
FILE: 1. Build and deploy your first website/4. The img tag/index.html
================================================
<!DOCTYPE><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css"><h1>Humans have reached Mars</h1>
<h3>The Starship rocket successfully landed on the red planet this morning.</h3>
<p>After a 115 days long journey, the crew of 12 finally arrived at their destination. This is the first time humans have set foot on a planet other than Earth.</p>
<img src="https://media-cldnry.s-nbcnews.com/image/upload/t_focal-760x428,f_auto,q_auto:best/mpx/2704722219/2021_10/MarsAFP_9PG3DY-n3pk3j.jpg" width="100%">

<!--
Challenge:
Add a second image to our article. Find one via Google and place it
under the <h1> element but over the <h3> element. Remember to use
the width attribute to make the image as wide as the other elements.
-->



================================================
FILE: 1. Build and deploy your first website/5. Nesting/index.html
================================================
<!DOCTYPE><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css"><h1>Humans have reached Mars</h1>
<img width="100%" src="https://media-cldnry.s-nbcnews.com/image/upload/t_focal-760x428,f_auto,q_auto:best/mpx/2704722219/2021_10/MarsAFP_9PG3DY-n3pk3j.jpg">
<h3>The Starship rocket successfully landed on the red planet this morning.</h3>
<p>After a 115 days long journey, the crew of 12 finally arrived to their destination. This is the first time humans have set foot on a planet other than Earth.</p>
<img src="mars.jpg">

================================================
FILE: 1. Build and deploy your first website/7. Interactive elements - button/index.html
================================================
<!DOCTYPE><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css"><!--
Challenge:
Create the signup layout from the provided design.

Welcome!
You have been granted access to the platform. 
Please create an account.
Sign up!
-->


================================================
FILE: 1. Build and deploy your first website/8. Interactive elements - input tags - input types/index.html
================================================
<!DOCTYPE><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css"><h1>Welcome!</h1>
<p>You have been granted access to the platform. Please create an account.</p>
<button>Sign up!</button>

<!--
Challenge:
We want our users to have profile pictures, so add
an HTML input field that lets them upload image files.
-->



================================================
FILE: 1. Build and deploy your first website/9. Lets build Google/index.html
================================================
<!DOCTYPE><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css"><!-- IGNORE THIS LINE 👇 -->
<link rel="stylesheet" href="styles.css">


<!--
Challenge:
Write the four HTML tags you need to create a Google.com clone.
Hint: one image, one input field, and two buttons.
-->



================================================
FILE: 1. Build and deploy your first website/9. Lets build Google/styles.css
================================================
body, html {
    margin: 0;
    padding: 0; 
}

img {
    width: 30%;
    display: block;
    margin: 100px auto 20px;
    min-width: 272px;
}

input {
    box-sizing: border-box;
    display: block;
    border-radius: 24px;
    border: 1px solid rgb(223, 225, 229);
    height: 44px;
    margin: 0 auto 29px;
    max-width: 564px;
    width: 90%;
    padding-left: 30px;
    font-size: 16px;
}

button {
    box-sizing: border-box;
    margin-top: 0;
    padding: 0 16px;
    font-size: 14px;
    height: 36px;
    background-color: #f8f9fa;
    border: 1px solid #f8f9fa;
    cursor: pointer;
}

button:first-of-type {
    margin-right: 8px;
    margin-left: calc(50% - 131.5px);
}

button::hover {
    cursor: pointer;   
}



================================================
FILE: 2. Build a Google.com clone/1. Lets Learn CSS/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div class="main">
            <img class="logo-img" src="google.png" />
            <input class="search-input" type="text" />
            <div class="btn-wrapper">
                <button class="btn">Google Search</button>
                <button class="btn">I'm Feeling Lucky</button>
            </div>
        </div>
    </body>
</html>

================================================
FILE: 2. Build a Google.com clone/1. Lets Learn CSS/styles.css
================================================
.main {
    margin-top: 100px;    
}

.logo-img {
    display: block;
    width: 300px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    display: block;
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
}

.btn-wrapper {
    display: flex;
    justify-content: center;
}

.btn {
    margin-left: 4px;
    margin-right: 4px;
    margin-top: 30px;
    background: #dfe1e5;
    border: none;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 4px;
    font-size: 14px;
}



================================================
FILE: 2. Build a Google.com clone/10. CSS classes/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
    <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div>
            <img src="google.png" />
            <input type="text" />
        </div>        
    </body>
</html>

================================================
FILE: 2. Build a Google.com clone/10. CSS classes/styles.css
================================================
div {
    margin-top: 100px;
}

img {
    display: block;
    width: 300px;
}

input {
    display: block;
    width: 400px;
}


================================================
FILE: 2. Build a Google.com clone/11. Aside - Learn margins via flags/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div class="red"></div>
        <div class="blue"></div>
        <div class="green"></div>
    </body>
</html>

================================================
FILE: 2. Build a Google.com clone/11. Aside - Learn margins via flags/styles.css
================================================
.red {
    background: #c71226;
    height: 100px;
}

.blue {
    background: #0d1b88;
    height: 100px;
}

.green {
    background: #397327;
    height: 100px;
}



================================================
FILE: 2. Build a Google.com clone/12. Add space between our elements/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
    <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div class="main">
            <img class="logo-img" src="google.png" />
            <input class="search-input" type="text" />
        </div>
    </body>
</html>

================================================
FILE: 2. Build a Google.com clone/12. Add space between our elements/styles.css
================================================
/*
Challenge: 
Add some space between the logo 
and the search field.

What are the two different ways 
we can do this with margins?

*/

.main {
    margin-top: 100px;    
}

.logo-img {
    display: block;
    width: 300px;
}

.search-input {
    display: block;
    width: 400px;
}


================================================
FILE: 2. Build a Google.com clone/13. Aside - centering with margins/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <img src="poo.jpg"/>
    </body>
</html>

================================================
FILE: 2. Build a Google.com clone/13. Aside - centering with margins/styles.css
================================================
img {
    width: 200px;
}



================================================
FILE: 2. Build a Google.com clone/14. Centering our content/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div class="main">
            <img class="logo-img" src="google.png" />
            <input class="search-input" type="text" />
        </div>
    </body>
</html>

================================================
FILE: 2. Build a Google.com clone/14. Centering our content/styles.css
================================================

/*
Challenge:
Center the logo and the search field.
*/
.main {
    margin-top: 100px;    
}

.logo-img {
    display: block;
    width: 300px;
    margin-bottom: 20px;
}

.search-input {
    display: block;
    width: 400px;
}


================================================
FILE: 2. Build a Google.com clone/15. Aside - padding/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div class="card">
            A purely peer-to-peer version of electronic cash would allow online
            payments to be sent directly from one party to another without going through a
            financial institution. Digital signatures provide part of the solution, but the main
            benefits are lost if a trusted third party is still required to prevent double-spending.        
        </div>    
    </body>
</html>

================================================
FILE: 2. Build a Google.com clone/15. Aside - padding/styles.css
================================================
.card {
    color: #222222;
}


================================================
FILE: 2. Build a Google.com clone/16. Aside - border and border-radius/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
    <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div class="card">
            A purely peer-to-peer version of electronic cash would allow online
            payments to be sent directly from one party to another without going through a
            financial institution. Digital signatures provide part of the solution, but the main
            benefits are lost if a trusted third party is still required to prevent double-spending.        
        </div>    
    </body>
</html>

================================================
FILE: 2. Build a Google.com clone/16. Aside - border and border-radius/styles.css
================================================
.card {
    color: #222222;
    background: lightgray;
    width: 300px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
}


================================================
FILE: 2. Build a Google.com clone/17. Aside challenge - style Twitter button/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
    <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <button>Following</button>
    </body>
</html>


================================================
FILE: 2. Build a Google.com clone/17. Aside challenge - style Twitter button/styles.css
================================================
/* 
Challenge: 
Make the button look like Twitter's "Following" button!
(Except for the font)

Hints:
border color: #cfd9de
text color: #0f1419
Remember the font-weight!
*/

================================================
FILE: 2. Build a Google.com clone/18. Fix the input field/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div class="main">
            <img class="logo-img" src="google.png" />
            <input class="search-input" type="text" />
        </div>
    </body>
</html>

================================================
FILE: 2. Build a Google.com clone/18. Fix the input field/styles.css
================================================



.main {
    margin-top: 100px;    
}

.logo-img {
    display: block;
    width: 300px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    display: block;
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    /*
    Challenge: 
    Design the search field according to the spec
    */
    
}



================================================
FILE: 2. Build a Google.com clone/19. Center the button/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div class="main">
            <img class="logo-img" src="google.png" />
            <input class="search-input" type="text" />
        </div>
    </body>
</html>

================================================
FILE: 2. Build a Google.com clone/19. Center the button/styles.css
================================================
.main {
    margin-top: 100px;    
}

.logo-img {
    display: block;
    width: 300px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    display: block;
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
}

/*
Challenge:
Center the button and add some space above it
*/



================================================
FILE: 2. Build a Google.com clone/2. Write your first lines of CSS/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        Please accept our cookies!
    </body> 
</html>


================================================
FILE: 2. Build a Google.com clone/2. Write your first lines of CSS/styles.css
================================================
/* 
Challenge:
Re-design the cookie widget!
PS: Make sure you change ALL of the listed CSS properties.
*/

body {
    background: yellow;     /* red, blue, yellow, etc */
    color: blue;            /* red, blue, yellow, etc */
    font-size: 20px;        /* 0px - 100px and beyond */
    font-weight: lighter;   /* lighter, normal, bold  */
    text-align: right;      /* left, center or right  */ 
    margin-top: 5px;        /* From 0px and upwards   */
}







================================================
FILE: 2. Build a Google.com clone/20. Style the button/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div class="main">
            <img class="logo-img" src="google.png" />
            <input class="search-input" type="text" />
            <button class="btn">Google Search</button>
        </div>
    </body>
</html>

================================================
FILE: 2. Build a Google.com clone/20. Style the button/styles.css
================================================
.main {
    margin-top: 100px;    
}

.logo-img {
    display: block;
    width: 300px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    display: block;
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
}

.btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;

    /*
    Challenge:
    Style the button according to the provided design.
    Hint: Use padding, font-size, border-radius, border, and background
    
    PS: 
    The real background is #f8f9fa but it is failing our contrast check. 
    So here's the background color we will use: #dfe1e5
    */
    
}


================================================
FILE: 2. Build a Google.com clone/21. Why we cant have two block-level buttons/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div class="main">
            <img class="logo-img" src="google.png" />
            <input class="search-input" type="text" />
            <button class="btn">Google Search</button>
            <!--
            Challenge:
            Add the next button.
            
            Why aren't our buttons behaving as we want them to?
            -->
        </div>
    </body>
</html>

================================================
FILE: 2. Build a Google.com clone/21. Why we cant have two block-level buttons/styles.css
================================================
.main {
    margin-top: 100px;    
}

.logo-img {
    display: block;
    width: 300px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    display: block;
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
}

.btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    background: #dfe1e5;
    border: none;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 4px;
    font-size: 14px;
}


================================================
FILE: 2. Build a Google.com clone/22. Aside - flexbox/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <div class="item">▽ Shoes</div>
        <div class="item">▽ Hoodies</div>
        <div class="item">▽ T Shirts</div>
    </body>
</html>

================================================
FILE: 2. Build a Google.com clone/22. Aside - flexbox/styles.css
================================================
.item {
    text-align: center;
    border: 1px solid black;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}


================================================
FILE: 2. Build a Google.com clone/23. Centering both buttons with flexbox/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div class="main">
            <img class="logo-img" src="google.png" />
            <input class="search-input" type="text" />
            <button class="btn">Google Search</button>
            <button class="btn">I'm Feeling Lucky</button>
        </div>
    </body>
</html>

================================================
FILE: 2. Build a Google.com clone/23. Centering both buttons with flexbox/styles.css
================================================
/*
Challenge:
Wrap the buttons in a flexbox div and center them.
Give the div a "btn-wrapper" class.
*/

.main {
    margin-top: 100px;    
}

.logo-img {
    display: block;
    width: 300px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    display: block;
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
}

.btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    background: #dfe1e5;
    border: none;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 4px;
    font-size: 14px;
}


================================================
FILE: 2. Build a Google.com clone/3. Write your first lines of CSS - Solution/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        Please accept our cookies!
    </body> 
</html>


================================================
FILE: 2. Build a Google.com clone/3. Write your first lines of CSS - Solution/styles.css
================================================
/* 
Challenge:
Re-design the cookie widget!
PS: Make sure you change ALL of the listed CSS properties.
*/

body {
    background: yellow;     /* red, blue, yellow, etc */
    color: red;             /* red, blue, yellow, etc */
    font-size: 20px;        /* 0px - 100px and beyond */
    font-weight: lighter;   /* lighter, normal, bold  */
    text-align: right;      /* left, center or right  */ 
    margin-top: 5px;        /* From 0px and upwards   */
}







================================================
FILE: 2. Build a Google.com clone/5. Link to the CSS file/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">    
    <!-- 
    Challenge: Link to the CSS file!
    Hint: google it ;)
     -->
    </head>
    <body>
        <img src="google.png" />
        <input type="text" />
    </body>
</html>


================================================
FILE: 2. Build a Google.com clone/5. Link to the CSS file/styles.css
================================================
body {
    background: red;
}



================================================
FILE: 2. Build a Google.com clone/6. Set the width of the elements/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">    
     <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <img src="google.png" />
        <input type="text" />
    </body>
</html>

================================================
FILE: 2. Build a Google.com clone/6. Set the width of the elements/styles.css
================================================
/*
Challenge:
Select the img tag and set the width 
of the Google logo to be 300px.
*/



================================================
FILE: 2. Build a Google.com clone/7. Inline vs block elements/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">    
     <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <img src="google.png" />
        <input type="text" />
    </body>
</html>

================================================
FILE: 2. Build a Google.com clone/7. Inline vs block elements/styles.css
================================================
/*
Challenge: 
Turn the elements into blocks!
*/

img {
    width: 300px;
}

input {
    width: 400px;
}


================================================
FILE: 2. Build a Google.com clone/8. Margin top/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
    <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <img src="google.png" />
        <input type="text" />
        <!-- <button >Google Search</button>
        <button >I'm Feeling Lucky</button> -->
    </body>
</html>

================================================
FILE: 2. Build a Google.com clone/8. Margin top/styles.css
================================================
img {
    /* Challenge: 
    Add some space (margin) above our image!
    Do you remember how we added spacing in the 
    cookie widget example?
    */
    display: block;
    width: 300px;
}


input {
    display: block;
    width: 400px;
}


================================================
FILE: 2. Build a Google.com clone/9. Divs rule the world/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <img src="google.png" />
        <input type="text" />
    </body>
</html>

================================================
FILE: 2. Build a Google.com clone/9. Divs rule the world/styles.css
================================================
img {
    margin-top: 100px;
    display: block;
    width: 300px;
}

input {
    display: block;
    width: 400px;
}


================================================
FILE: 3. Build a digital Business Card/1. Building your digital Business Card/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div class="card">
            <img class="avatar" src="images/per.png">
            <div >
                <h3>Per Harald Borgen</h3>
                <p>Frontend Developer</p>
                <h4>Oslo, Norway</h4>
            </div>
        </div>
    </body>
</html>

================================================
FILE: 3. Build a digital Business Card/1. Building your digital Business Card/styles.css
================================================
body {
    margin: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.avatar {
    width: 150px;
}

.card {
    width: 400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    text-align: center;
    background: #ddebf8;
    color: #2b2839;
    border-bottom: 6px solid #d8cefe;
        
    /*
    Challenge:
    Find a color palette you like on Coolors.co
    and use it in your business card.
     */
}

.border-blue {
    border: 1px dotted blue;
}



================================================
FILE: 3. Build a digital Business Card/10. Center the card/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div class="card border-blue">
            <img
                src="images/per.png"
                alt="Per Harald Borgen smiling at the camera with a colorful background" class="avatar border-blue">
            <div class="border-blue">
                <h3>Per Harald Borgen</h3>
                <p>Frontend Developer</p>
                <h4>Oslo, Norway</h4>
            </div>
        </div>
    </body>
</html>

================================================
FILE: 3. Build a digital Business Card/10. Center the card/styles.css
================================================
body {
    margin: 20px;
}

.avatar {
    width: 150px;
}

.card {
    /*
    Challenge:
    Give the card a width of 400px wide and center it.
    */
    padding: 20px;
    display: flex;
    justify-content: space-around
}

.border-blue {
    border: 1px dotted blue;
}



================================================
FILE: 3. Build a digital Business Card/11. Aside - inheritance/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <h1>Dancing plague of 1518</h1>
        <h4>The dancing plague of 1518, or dance epidemic of 1518, was a case of dancing mania that occurred in Strasbourg, Alsace (modern-day France), in the Holy Roman Empire from July 1518 to September 1518. Somewhere between 50 and 400 people took to dancing for days.</h4>
        <h2>Events</h2>
        <p>The outbreak began in July 1518 when a woman began to dance fervently in a street in Strasbourg.[1] By early September, the outbreak began to subside.[2]</p>
        <p>Historical documents, including "physician notes, cathedral sermons, local and regional chronicles, and even notes issued by the Strasbourg city council" are clear that the victims danced;[1] it is not known why. Historical sources agree that there was an outbreak of dancing after a single woman started dancing,[3] a group of mostly young women joined in, and the dancing did not seem to die down. It lasted for such a long time that it attracted the attention of the Strasbourg magistrate and bishop, and some number of doctors ultimately intervened, putting the afflicted in a hospital.[citation needed]</p>
        <p>Events similar to this are said to have occurred throughout the medieval age including 11th century in Kölbigk Saxony, where it was believed to be the cause of demonic possession or divine judgment.[4] In 15th century Apulia Italy,[5] a woman was bitten by a tarantula, the venom making her dance convulsively. The only way to cure the bite was to "shimmy" and to have the right sort of music available, which was an accepted remedy by scholars like Athanasius Kircher.[6]</p>
        <img src="dancing.jpg" width="100%" alt="Drawing of the dancing plague in France in 1518.">
        <h2>Modern theories</h2>
        <h3>Food poisoning</h3>
        <p>Some believe[2] the dancing could have been brought on by food poisoning caused by the toxic and psychoactive chemical products of ergot fungi (ergotism), which grows commonly on grains (such as rye) used for baking bread. Ergotamine is the main psychoactive product of ergot fungi; it is structurally related to the drug lysergic acid diethylamide (LSD-25) and is the substance from which LSD-25 was originally synthesized. The same fungus has also been implicated in other major historical anomalies, including the Salem witch trials.[10][11]</p>
        <p>In The Lancet, John Waller argues that "this theory does not seem tenable, since it is unlikely that those poisoned by ergot could have danced for days at a time. Nor would so many people have reacted to its psychotropic chemicals in the same way. The ergotism theory also fails to explain why virtually every outbreak occurred somewhere along the Rhine and Moselle rivers, areas linked by water but with quite different climates and crops".[7]</p>
        <h3>Stress-induced mass hysteria</h3>
        <p>This could have been a florid example of psychogenic movement disorder happening in mass hysteria or mass psychogenic illness, which involves many individuals suddenly exhibiting the same bizarre behavior. The behavior spreads rapidly and broadly in an epidemic pattern.[12] This kind of comportment could have been caused by elevated levels of psychological stress, caused by the ruthless years (even by the rough standards of the early modern period) the people of Alsace were suffering.[7]</p>
        <p>Waller speculates that the dancing was "stress-induced psychosis" on a mass level, since the region where the people danced was riddled with starvation and disease, and the inhabitants tended to be superstitious. Seven other cases of dancing plague were reported in the same region during the medieval era.[13]</p>

        <p>This psychogenic illness could have created a chorea (from the Greek khoreia meaning "to dance"), a situation comprising random and intricate unintentional movements that flit from body part to body part. Diverse choreas (St. Vitus' dance, St. John's dance, and tarantism) were labeled in the Middle Ages referring to the independent epidemics of "dancing mania" that happened in central Europe, particularly at the time of the plague.[14][15][16]</p>
    </body>
</html>

================================================
FILE: 3. Build a digital Business Card/11. Aside - inheritance/styles.css
================================================
body {
    margin: 10px;
}



================================================
FILE: 3. Build a digital Business Card/12. Center the text via inheritance/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div class="card border-blue">
            <img
                src="images/per.png"
                alt="Per Harald Borgen smiling at the camera with a colorful background" class="avatar border-blue">
            <div class="border-blue">
                <h3>Per Harald Borgen</h3>
                <p>Frontend Developer</p>
                <h4>Oslo, Norway</h4>
            </div>
        </div>
    </body>
</html>

================================================
FILE: 3. Build a digital Business Card/12. Center the text via inheritance/styles.css
================================================
/*
Challenge:
Center the text in the <p> and <h4> elements.

Note: you should only add ONE property, as inheritance 
should take care of applying it to both elements.
*/

body {
    margin: 20px;
}

.avatar {
    width: 150px;
}

.card {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    display: flex;
    justify-content: space-around;
}

.border-blue {
    border: 1px dotted blue;
}



================================================
FILE: 3. Build a digital Business Card/13. Add colors/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div class="card border-blue">
            <img
                src="images/per.png"
                alt="Per Harald Borgen smiling at the camera with a colorful background" class="avatar border-blue">
            <div class="border-blue">
                <h3>Per Harald Borgen</h3>
                <p>Frontend Developer</p>
                <h4>Oslo, Norway</h4>
            </div>
        </div>
    </body>
</html>

================================================
FILE: 3. Build a digital Business Card/13. Add colors/styles.css
================================================
body {
    margin: 20px;
}

.avatar {
    width: 150px;
}

.card {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    text-align: center;
    
    /* 
    Challenge:
    Add colors to the card according to the design.
    black - #2b2839 (the text color)
    blue - #ddebf8
    purple - #d8cefe
    */
}

.border-blue {
    border: 1px dotted blue;
}
    

================================================
FILE: 3. Build a digital Business Card/14. Web-safe fonts/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div class="card">
            <img
                src="images/per.png"
                alt="Per Harald Borgen smiling at the camera with a colorful background" class="avatar">
            <div>
                <h3>Per Harald Borgen</h3>
                <p>Frontend Developer</p>
                <h4>Oslo, Norway</h4>
            </div>
        </div>
    </body>
</html>

================================================
FILE: 3. Build a digital Business Card/14. Web-safe fonts/styles.css
================================================
body {
    margin: 20px;
    /*
    Challenge:
    Set the font to Verdana.
    */
}

.avatar {
    width: 150px;
}

.card {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    text-align: center;
    background: #ddebf8;
    color: #2b2839;
    border-bottom: 6px solid #d8cefe;
}

.border-blue {
    border: 1px dotted blue;
}
    

================================================
FILE: 3. Build a digital Business Card/15. Aside - Margin padding shorthand/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
    <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div class="red-circle">
        </div>
    </body>
</html>


================================================
FILE: 3. Build a digital Business Card/15. Aside - Margin padding shorthand/styles.css
================================================
.red-circle {
    height: 150px;
    width: 150px;
    border-radius: 100%;
    background: #BC002D;
    
    /* 
    Challenge:
    Translate this into using the margin shorthand. 
    */
    margin-top: 40px;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 100px;
    
}

================================================
FILE: 3. Build a digital Business Card/16. Use the margin and padding shorthands/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <!-- mini side-lesson: adding a new class with a space -->
        <div class="card">
            <img class="avatar" src="images/per.png">
            <div >
                <h3>Per Harald Borgen</h3>
                <p>Frontend Developer</p>
                <h4>Oslo, Norway</h4>
            </div>
        </div>
    </body>
</html>

================================================
FILE: 3. Build a digital Business Card/16. Use the margin and padding shorthands/styles.css
================================================
body {
    margin: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.avatar {
    width: 150px;
}

.card {
    width: 400px;
    /* 
    Challenge:
    Replace the two margin properties with a 
    single margin shorthand.
    */
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    text-align: center;
    background: #ddebf8;
    color: #2b2839;
    border-bottom: 6px solid #d8cefe;
}

.border-blue {
    border: 1px dotted blue;
}

================================================
FILE: 3. Build a digital Business Card/17. Make it your own/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div class="card">
            <img class="avatar" src="images/per.png">
            <div >
                <h3>Per Harald Borgen</h3>
                <p>Frontend Developer</p>
                <h4>Oslo, Norway</h4>
            </div>
        </div>
    </body>
</html>

================================================
FILE: 3. Build a digital Business Card/17. Make it your own/styles.css
================================================
body {
    margin: 20px;
    /*
    Challenge:
    Find a web safe font you like, and add it 
    to your card.
    */
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.avatar {
    width: 150px;
}

.card {
    width: 400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    text-align: center;
    background: #ddebf8;
    color: #2b2839;
    border-bottom: 6px solid #d8cefe;
        
    /*
    Challenge:
    Find a color palette you like on Coolors.co
    and use it in your business card.
     */
}

.border-blue {
    border: 1px dotted blue;
}

/*
Stretch goals:
Find other ways you can personalize 
the design of your business card, e.g.:
- change the border(s)
- add border radius
- shuffle the layout
- shadows        🤯
- hover effects  🤯🤯
- animations     🤯🤯🤯
*/

/*
Final challenge:
Download the code to your local computer and place it
in a folder called "business-card"
*/



================================================
FILE: 3. Build a digital Business Card/2. Fix the image path/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div>
            <!-- 
            Challenge:
            The image isn't rendering. Can you find out why?
            
            Hint: try to google "html file paths"
            -->
            <img src="per.png">
            <h3>Per Harald Borgen</h3>
            <p>Frontend Developer</p>
            <h4>Oslo, Norway</h4>
        </div>
    </body>
</html>

================================================
FILE: 3. Build a digital Business Card/2. Fix the image path/styles.css
================================================
body {
    margin: 20px;
}


================================================
FILE: 3. Build a digital Business Card/3. Add alt attribute/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div>
            <!-- 
            Challenge:
            Add an alt text to the image element.
            -->
            <img src="images/per.png">
            <h3>Per Harald Borgen</h3>
            <p>Frontend Developer</p>
            <h4>Oslo, Norway</h4>
        </div>
    </body>
</html>

================================================
FILE: 3. Build a digital Business Card/3. Add alt attribute/styles.css
================================================
body {
    margin: 20px;
}


================================================
FILE: 3. Build a digital Business Card/4. Make image smaller/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div>
            <img src="images/per.png" alt="Per Harald Borgen smiling at the camera with a colorful background">
            <h3>Per Harald Borgen</h3>
            <p>Frontend Developer</p>
            <h4>Oslo, Norway</h4>
        </div>
    </body>
</html>

================================================
FILE: 3. Build a digital Business Card/4. Make image smaller/styles.css
================================================
body {
    margin: 20px;
}


/*
Challenge:
Set the width of the image to 150px.
PS: Use a class to select the img element.
*/

================================================
FILE: 3. Build a digital Business Card/5. Add a border and padding/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div>
            <img
                src="images/per.png"
                alt="Per Harald Borgen smiling at the camera with a colorful background" class="avatar">
            <h3>Per Harald Borgen</h3>
            <p>Frontend Developer</p>
            <h4>Oslo, Norway</h4>
        </div>
    </body>
</html>

================================================
FILE: 3. Build a digital Business Card/5. Add a border and padding/styles.css
================================================
body {
    margin: 20px;
}

.avatar {
    width: 150px;
}

/*
Challenge:
1. Give the card div a class (name it "card")
2. Select the card class and give it a dotted blue border
3. Add 20 pixels of padding on all sides of the card
*/

================================================
FILE: 3. Build a digital Business Card/6. Aside - flexbox child containers/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="index.css">
    </head>
    <body>
        <h1>Upgrade to Pro</h1>
        
        <div class="pricing">
            <h2>For individuals</h2>
            <ul>
                <li>1 gb</li>
                <li>No support</li>
            </ul>
            <button>Buy now</button> 
            <h2>For enterprise</h2>
                <ul>
                    <li>10 gb</li>
                <li>Priority support</li>
                </ul>
            <button>Contact us</button>
        </div>
        
    </body>
</html>

================================================
FILE: 3. Build a digital Business Card/7. Flex item containers/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
    <!-- 
    Challenge:
    Use what you've just learned to fix our card's broken 
    column layout (make it two-column instead of four-column)
     -->
        <div class="card">
            <img
                src="images/per.png"
                alt="Per Harald Borgen smiling at the camera with a colorful background" class="avatar">
            <h3>Per Harald Borgen</h3>
            <p>Frontend Developer</p>
            <h4>Oslo, Norway</h4>
        </div>
    </body>
</html>

================================================
FILE: 3. Build a digital Business Card/7. Flex item containers/styles.css
================================================
body {
    margin: 20px;
}

.avatar {
    width: 150px;
}

.card {
    border: 1px dotted blue;
    padding: 20px;
    display: flex;
}


================================================
FILE: 3. Build a digital Business Card/8. Add a utility class/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div class="card">
            <img
                src="images/per.png"
                alt="Per Harald Borgen smiling at the camera with a colorful background" class="avatar">
            <div>
                <h3>Per Harald Borgen</h3>
                <p>Frontend Developer</p>
                <h4>Oslo, Norway</h4>
            </div>
        </div>
    </body>
</html>

================================================
FILE: 3. Build a digital Business Card/8. Add a utility class/styles.css
================================================
body {
    margin: 20px;
}

.avatar {
    width: 150px;
}

.card {
    border: 1px dotted blue;
    padding: 20px;
    display: flex;
}

/*
Challenge:
Create a utility class for the dotted blue border.
Give the class to both flexbox children in the HTML.
*/


================================================
FILE: 3. Build a digital Business Card/9. Justify the items/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div class="card border-blue">
            <img
                src="images/per.png"
                alt="Per Harald Borgen smiling at the camera with a colorful background" class="avatar border-blue">
            <div class="border-blue">
                <h3>Per Harald Borgen</h3>
                <p>Frontend Developer</p>
                <h4>Oslo, Norway</h4>
            </div>
        </div>
    </body>
</html>

================================================
FILE: 3. Build a digital Business Card/9. Justify the items/styles.css
================================================
body {
    margin: 20px;
}

.avatar {
    width: 150px;
}

.card {
    padding: 20px;
    display: flex;
    /*
    Challenge:
    Add horizontal space around the flex children.
    Hint: google "justify content"
    */
}

.border-blue {
    border: 1px dotted blue;
}



================================================
FILE: 4. Build a Space Exploration Site/1. Lets go to space/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;800&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div id="hero">
            <img src="images/spacex.png" id="main-logo">
            <h1 id="title">Join the <span class="underline">exploration</span></h1>
            <button class="btn">Apply</button>
        </div>
        <h3>Terms and conditions apply</h3>
    </body>
</html>

================================================
FILE: 4. Build a Space Exploration Site/1. Lets go to space/styles.css
================================================
body {
    margin: 0;
    color: #82a5ca;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

#hero {
    background-image: url("images/galaxy.webp");
    background-size: cover;
    padding: 10px 0 40px 0;
}

#main-logo {
    width: 100px;
}

/*
Challenge:
Add a blurred border around the <h1> using
the text-shadow technique you just learned. Set
the blur to 4px and the color to black.
*/

#title {
    text-shadow: 0px 0px 4px black;
}

.btn {
    padding: 6px 12px;
    background: white;
    border: none;
    font-family: 'Orbitron', sans-serif;
    color: #82a5ca;
    font-weight: 800;
}

.underline {
    border-bottom: 4px solid white;
}
   

================================================
FILE: 4. Build a Space Exploration Site/11. Add the terms and conditions section/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;800&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <img src="images/spacex.png" id="main-logo">
        <h1>Join the <span class="underline">exploration</span></h1>
        <button class="btn">Apply</button>
    </body>
</html>

================================================
FILE: 4. Build a Space Exploration Site/11. Add the terms and conditions section/styles.css
================================================
/*
Challenge:
Wrap the "hero" section (title, button, logo) in a <div>
and set its background image to the galaxy image. This will 
force you to also add some padding on the "hero" <div>.

Add a "Terms and conditions apply" <h3> below the "hero"
section.

PS: your layout will likely be disturbed by the <body> 
tag's default margin.
*/

body {
    color: #82a5ca;
    background-image: url("images/galaxy.webp");
    background-size: cover;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

#main-logo {
    width: 100px;
}

.btn {
    padding: 6px 12px;
    background: white;
    border: none;
    font-family: 'Orbitron', sans-serif;
    color: #82a5ca;
    font-weight: 800;
}

.underline {
    border-bottom: 4px solid white;
}
   

================================================
FILE: 4. Build a Space Exploration Site/12. Aside - text shadow/index.css
================================================
body {
    letter-spacing: 4px;
    background: #b7111b;
    color: #fafbf4;
    text-align: center;
    font-family: 'Kanit', sans-serif;
}

h1 {
    font-size: 80px;
}

/*
Challenge:
Try to achieve the shadow from the provided design.
*/


================================================
FILE: 4. Build a Space Exploration Site/12. Aside - text shadow/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="index.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Boogaloo&family=Bungee+Inline&family=Happy+Monkey&family=Kanit:wght@400;600&family=Luckiest+Guy&family=MedievalSharp&family=Monoton&family=Quicksand:wght@700&family=Rammetto+One&family=Sura&family=Ultra&display=swap" rel="stylesheet">
    </head>
    <body>
        <h1>NETFLIX</h1>
    </body>
</html>

================================================
FILE: 4. Build a Space Exploration Site/13. Improving the readability with text shadows/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;800&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <div id="hero">
            <img src="images/spacex.png" id="main-logo">
            <h1>Join the <span class="underline">exploration</span></h1>
            <button class="btn">Apply</button>
        </div>
        <h3>Terms and conditions apply</h3>
    </body>
</html>

================================================
FILE: 4. Build a Space Exploration Site/13. Improving the readability with text shadows/styles.css
================================================
body {
    margin: 0;
    color: #82a5ca;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

#hero {
    background-image: url("images/galaxy.webp");
    background-size: cover;
    padding: 10px 0 40px 0;
}

#main-logo {
    width: 100px;
}

/*
Challenge:
Add a blurred border around the <h1> using
the text-shadow technique you just learned. Set
the blur to 4px and the color to black.
*/

.btn {
    padding: 6px 12px;
    background: white;
    border: none;
    font-family: 'Orbitron', sans-serif;
    color: #82a5ca;
    font-weight: 800;
}

.underline {
    border-bottom: 4px solid white;
}
   

================================================
FILE: 4. Build a Space Exploration Site/2. Add a background image from unsplash/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <h1>Join the exploration</h1>
        <button>Apply!</button>
    </body>
</html>

================================================
FILE: 4. Build a Space Exploration Site/2. Add a background image from unsplash/styles.css
================================================
body {
    color: white;
    background-image: url("images/universe.jpg");
    background-size: cover;
}




================================================
FILE: 4. Build a Space Exploration Site/3. Center elements and style button/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <h1>Join the exploration</h1>
        <button class="btn">Apply</button>
    </body>
</html>

================================================
FILE: 4. Build a Space Exploration Site/3. Center elements and style button/styles.css
================================================
/*
Challenge:
1. Center the text and button
2. Style the button according to the design.
   Use a class to select the button.
*/

body {
    color: white;
    background-image: url("images/universe.jpg");
    background-size: cover;
}



================================================
FILE: 4. Build a Space Exploration Site/4. Add a Google Font/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <!-- Embed the Google Font here. -->
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <h1>Join the exploration</h1>
        <button class="btn">Apply</button>
    </body>
</html>

================================================
FILE: 4. Build a Space Exploration Site/4. Add a Google Font/styles.css
================================================
body {
    color: white;
    background-image: url("images/universe.jpg");
    background-size: cover;
    text-align: center;
    /* 
    Set the font family here. 
    */
}

.btn {
    padding: 6px 12px;
    background: white;
    border: none;
    /* 
    You'll need to do something here as well!
    Can you spot what it is?
    */
}


================================================
FILE: 4. Build a Space Exploration Site/5. font-face/index.css
================================================
@font-face {
    src: url("Corleone.ttf");
    font-family: Corleone;
}

h1 {
    
}

================================================
FILE: 4. Build a Space Exploration Site/5. font-face/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="index.css">
    </head>
    <body>
        <h1>The Godfather</h1>
        <script src="index.js"></script>
    </body>
</html>

================================================
FILE: 4. Build a Space Exploration Site/5. font-face/index.js
================================================
// javascript

================================================
FILE: 4. Build a Space Exploration Site/6. Aside - spans/index.html
================================================
<html>
<head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
    <link rel="stylesheet" href="styles.css" />
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Rammetto+One&display=swap" rel="stylesheet">
</head>
<body>
    <div class="ad">
        <h1>You got the joker 🃏</h1>
        <h3>Click here to get your prize! 💰</h3>
    </div>
</body>
</html>

================================================
FILE: 4. Build a Space Exploration Site/6. Aside - spans/styles.css
================================================
body {
    background: whitesmoke;
    color: whitesmoke;
    font-family: 'Rammetto One', cursive;
}

.ad {
    background: #35654d;
    border: 5px solid #A3BC71;
    text-align: center;
}

================================================
FILE: 4. Build a Space Exploration Site/7. Add an underline using a span/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;800&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <h1>Join the exploration</h1>
        <button class="btn">Apply</button>
    </body>
</html>

================================================
FILE: 4. Build a Space Exploration Site/7. Add an underline using a span/styles.css
================================================
body {
    color: white;
    background-image: url("images/universe.jpg");
    background-size: cover;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.btn {
    padding: 6px 12px;
    background: white;
    border: none;
    font-family: 'Orbitron', sans-serif;
}

/* 
Challenge:
Add the underline to the title using a <span> and a class.
*/

================================================
FILE: 4. Build a Space Exploration Site/8. Use an ID for the logo/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;800&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <!-- 
        Challenge 1:
        Render the SpaceX logo, and give it an id.
        -->

        <h1>Join the <span class="underline">exploration</span></h1>
        <button class="btn">Apply</button>
    </body>
</html>

================================================
FILE: 4. Build a Space Exploration Site/8. Use an ID for the logo/styles.css
================================================
body {
    color: white;
    background-image: url("images/universe.jpg");
    background-size: cover;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

/*
Challenge 2:
Select the logo using its "id", and reduce its
width to a suitable level.
*/

.btn {
    padding: 6px 12px;
    background: white;
    border: none;
    font-family: 'Orbitron', sans-serif;
}

.underline {
    border-bottom: 4px solid white;
}


================================================
FILE: 4. Build a Space Exploration Site/9. Replace the jpg with a webp/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;800&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
        <img src="images/spacex.png" id="main-logo">
        <h1>Join the <span class="underline">exploration</span></h1>
        <button class="btn">Apply</button>
    </body>
</html>

================================================
FILE: 4. Build a Space Exploration Site/9. Replace the jpg with a webp/styles.css
================================================
body {
    color: white;
    background-image: url("images/galaxy.webp");
    background-size: cover;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

#main-logo {
    width: 100px;
}

.btn {
    padding: 6px 12px;
    background: white;
    border: none;
    font-family: 'Orbitron', sans-serif;
}

.underline {
    border-bottom: 4px solid white;
}
   

================================================
FILE: 5. Build a Birthday GIFt Site/1. Let's build a birthday GIFt site/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Happy+Monkey&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <div id="header">
            <h1>Today is Nick's birthday 🎉</h1>
            <img id="bff-img" src="images/nick.jpg">
            <h2 id="bday-age">24 years old</h2>
            <h4 id="bday-date">01.11.2022</h4>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">Here's how happy I am for you today 🥳</h2>
            <h3 class="gift-hint">(Hover over the gift)</h3>
            <div class="gift-img" id="gift-img-happy"></div>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">How people react when you enter the room 😍</h2>
            <div class="gift-img" id="gift-img-hot"></div>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">If I had to describe you with ONE word 👇</h2>
            <div class="gift-img" id="gift-img-genius"></div>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">The only person as badass as you 💪</h2>
            <div class="gift-img" id="gift-img-badass"></div>
        </div>
        
         <div class="gift-section">
            <h2 class="gift-title">This one's for you, my friend 🥂</h2>
            <div class="gift-img" id="gift-img-cheers"></div>
        </div>
        
        <!-- Add the footer here. -->
        <p id="footer">Want to create your own Birthday GIFt site? Take <a href="https://scrimba.com/learn/htmlandcss" target="_blank">this HTML & CSS course.</a></p>
        
    </body>
</html>

================================================
FILE: 5. Build a Birthday GIFt Site/1. Let's build a birthday GIFt site/styles.css
================================================
/*
Challenge:
Change the site's background into a gradient that goes
from blue at the top to pink at the bottom.
*/

body {
    text-align: center;
    font-family: 'Happy Monkey', cursive;
    background: linear-gradient(#a2d2ff, #EFB0C9);
    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-cheers {
    height: 200px;
}

.gift-img {
    margin: 20px auto;
    max-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");
}

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

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

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

#footer {
    font-style: italic;
    width: 400px;
    margin: 40px auto 20px;
}

a {
    color: white;
}

/* 
Add the footer paragraph according to the design. 
Configure the anchor tag to open the link in a new tab.
Forgotten how to do it? Google it! 

Link: 
https://scrimba.com/learn/htmlandcss

Text:
Want to create your own Birthday GIFt site? Take this HTML & CSS course.
*/

================================================
FILE: 5. Build a Birthday GIFt Site/10. Create the first gift/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Happy+Monkey&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <div id="header">
            <h1>Today is Nick's birthday 🎉</h1>
            <img id="bff-img" src="images/nick.jpg">
            <h2 id="bday-age">24 years old</h2>
            <h4 id="bday-date">01.11.2022</h4>
        </div>
    </body>
</html>

================================================
FILE: 5. Build a Birthday GIFt Site/10. Create the first gift/styles.css
================================================
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;
}

/*
Challenge:
1. Create a "gift-section" <div> that will wrap
   all the elements for the first gift.
2. Add the <h2>, <h3>, and <img> elements, and
   give all of them their own classes.
3. Style the elements according to the design.

PS: the image should be 400px wide.
*/



================================================
FILE: 5. Build a Birthday GIFt Site/11. Replacing the img with a div/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Happy+Monkey&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <div id="header">
            <h1>Today is Nick's birthday 🎉</h1>
            <img id="bff-img" src="images/nick.jpg">
            <h2 id="bday-age">24 years old</h2>
            <h4 id="bday-date">01.11.2022</h4>
        </div> 
        <div class="gift-section">
            <h2 class="gift-title">Here's how happy I am for you today 🥳</h2>
            <h3 class="gift-hint">(Hover over the gift)</h3>
            <img class="gift-img" src="images/gift-cover.jpg">
        </div>
    </body>
</html>

================================================
FILE: 5. Build a Birthday GIFt Site/11. Replacing the img with a div/styles.css
================================================
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 {
    width: 400px;
    border: 6px solid white;
    border-radius: 10px;
}

/*
Challenge:
"Fix" the "gift-img" <div> so that it looks 
like the provided design again.

It needs a height (should be a square), a
background image, and to be centered again.
*/




================================================
FILE: 5. Build a Birthday GIFt Site/12. Aside - make elements change on hover/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <div>Menu</div>
        <div>Book a table</div>
        <div>Catering</div>
    </body>
<html>

================================================
FILE: 5. Build a Birthday GIFt Site/12. Aside - make elements change on hover/styles.css
================================================
div {
    text-align: center;
    color: white;
    margin: 5px;
    padding: 25px 0;
    background: #e5383b;
    font-size: 30px;
    font-weight: bold;
}

================================================
FILE: 5. Build a Birthday GIFt Site/13. Add the hover effect/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Happy+Monkey&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <div id="header">
            <h1>Today is Nick's birthday 🎉</h1>
            <img id="bff-img" src="images/nick.jpg">
            <h2 id="bday-age">24 years old</h2>
            <h4 id="bday-date">01.11.2022</h4>
        </div> 
        <div class="gift-section">
            <h2 class="gift-title">Here's how happy I am for you today 🥳</h2>
            <h3 class="gift-hint">(Hover over the gift)</h3>
            <div class="gift-img"></div>
        </div>
    </body>
</html>

================================================
FILE: 5. Build a Birthday GIFt Site/13. Add the hover effect/styles.css
================================================
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: 0 auto;
    width: 400px;
    height: 400px;
    border: 6px solid white;
    border-radius: 10px;
    background-image: url("images/gift-cover.jpg");
    background-size: cover;
}

/*
Challenge:
Swap the gift paper image out with
the happy.gif when you hover over it!
*/

================================================
FILE: 5. Build a Birthday GIFt Site/14. Create the next GIFt/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Happy+Monkey&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <div id="header">
            <h1>Today is Nick's birthday 🎉</h1>
            <img id="bff-img" src="images/nick.jpg">
            <h2 id="bday-age">24 years old</h2>
            <h4 id="bday-date">01.11.2022</h4>
        </div> 
        <div class="gift-section">
            <h2 class="gift-title">Here's how happy I am for you today 🥳</h2>
            <h3 class="gift-hint">(Hover over the gift)</h3>
            <div class="gift-img"></div>
        </div>
    </body>
</html>

================================================
FILE: 5. Build a Birthday GIFt Site/14. Create the next GIFt/styles.css
================================================
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: 0 auto;
    width: 400px;
    height: 400px;
    border: 6px solid white;
    border-radius: 10px;
    background-image: url("images/gift-cover.jpg");
    background-size: cover;
}

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

/*
Challenge:
Create the next GIFt (hot.gif). Its HTML structure 
should be like the previous one, but without the 
"gift-hint" element.

However, now that you have multiple GIFts on the page,
you cannot use the "gift-img" class to set the GIF 
background-image(s) on :hover. Each GIFt will need a 
unique id that controls which background image that 
should be shown when hovering over the element.
*/

================================================
FILE: 5. Build a Birthday GIFt Site/15. Create two more GIFts/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Happy+Monkey&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <div id="header">
            <h1>Today is Nick's birthday 🎉</h1>
            <img id="bff-img" src="images/nick.jpg">
            <h2 id="bday-age">24 years old</h2>
            <h4 id="bday-date">01.11.2022</h4>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">Here's how happy I am for you today 🥳</h2>
            <h3 class="gift-hint">(Hover over the gift)</h3>
            <div class="gift-img" id="gift-img-happy"></div>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">How people react when you enter the room 😍</h2>
            <div class="gift-img" id="gift-img-hot"></div>
        </div>
    </body>
</html>

================================================
FILE: 5. Build a Birthday GIFt Site/15. Create two more GIFts/styles.css
================================================
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 💪

*/

================================================
FILE: 5. Build a Birthday GIFt Site/16. Create the final GIFt/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Happy+Monkey&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <div id="header">
            <h1>Today is Nick's birthday 🎉</h1>
            <img id="bff-img" src="images/nick.jpg">
            <h2 id="bday-age">24 years old</h2>
            <h4 id="bday-date">01.11.2022</h4>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">Here's how happy I am for you today 🥳</h2>
            <h3 class="gift-hint">(Hover over the gift)</h3>
            <div class="gift-img" id="gift-img-happy"></div>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">How people react when you enter the room 😍</h2>
            <div class="gift-img" id="gift-img-hot"></div>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">If I had to describe you with ONE word 👇</h2>
            <div class="gift-img" id="gift-img-genius"></div>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">The only person as badass as you 💪</h2>
            <div class="gift-img" id="gift-img-badass"></div>
        </div>
        
    </body>
</html>

================================================
FILE: 5. Build a Birthday GIFt Site/16. Create the final GIFt/styles.css
================================================
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");
}

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

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

/*
Challenge:
Create the "cheers" GIFt section.

Note: this GIFt should have a height of 200px. 
Select the #gift-img-cheers id and override 
the height that the element got from the 
.gift-img class.

Text: 
This one's for you, my friend 🥂
*/



================================================
FILE: 5. Build a Birthday GIFt Site/17. Add the footer/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Happy+Monkey&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <div id="header">
            <h1>Today is Nick's birthday 🎉</h1>
            <img id="bff-img" src="images/nick.jpg">
            <h2 id="bday-age">24 years old</h2>
            <h4 id="bday-date">01.11.2022</h4>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">Here's how happy I am for you today 🥳</h2>
            <h3 class="gift-hint">(Hover over the gift)</h3>
            <div class="gift-img" id="gift-img-happy"></div>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">How people react when you enter the room 😍</h2>
            <div class="gift-img" id="gift-img-hot"></div>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">If I had to describe you with ONE word 👇</h2>
            <div class="gift-img" id="gift-img-genius"></div>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">The only person as badass as you 💪</h2>
            <div class="gift-img" id="gift-img-badass"></div>
        </div>
        
         <div class="gift-section">
            <h2 class="gift-title">This one's for you, my friend 🥂</h2>
            <div class="gift-img" id="gift-img-cheers"></div>
        </div>
        
        <!-- Add the footer here. -->
        
    </body>
</html>

================================================
FILE: 5. Build a Birthday GIFt Site/17. Add the footer/styles.css
================================================
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-cheers {
    height: 200px;
}

.gift-img {
    margin: 20px auto;
    max-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");
}

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

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

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

/* 
Add the footer paragraph according to the design. 
Configure the anchor tag to open the link in a new tab.
Forgotten how to do it? Google it! 

Link: 
https://scrimba.com/learn/htmlandcss

Text:
Want to create your own Birthday GIFt site? Take this HTML & CSS course.
*/

================================================
FILE: 5. Build a Birthday GIFt Site/18. Add a background gradient/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Happy+Monkey&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <div id="header">
            <h1>Today is Nick's birthday 🎉</h1>
            <img id="bff-img" src="images/nick.jpg">
            <h2 id="bday-age">24 years old</h2>
            <h4 id="bday-date">01.11.2022</h4>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">Here's how happy I am for you today 🥳</h2>
            <h3 class="gift-hint">(Hover over the gift)</h3>
            <div class="gift-img" id="gift-img-happy"></div>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">How people react when you enter the room 😍</h2>
            <div class="gift-img" id="gift-img-hot"></div>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">If I had to describe you with ONE word 👇</h2>
            <div class="gift-img" id="gift-img-genius"></div>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">The only person as badass as you 💪</h2>
            <div class="gift-img" id="gift-img-badass"></div>
        </div>
        
         <div class="gift-section">
            <h2 class="gift-title">This one's for you, my friend 🥂</h2>
            <div class="gift-img" id="gift-img-cheers"></div>
        </div>
        
        <!-- Add the footer here. -->
        <p id="footer">Want to create your own Birthday GIFt site? Take <a href="https://scrimba.com/learn/htmlandcss" target="_blank">this HTML & CSS course.</a></p>
        
    </body>
</html>

================================================
FILE: 5. Build a Birthday GIFt Site/18. Add a background gradient/styles.css
================================================
/*
Challenge:
Change the site's background into a gradient that goes
from blue at the top to pink at the bottom.
*/

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-cheers {
    height: 200px;
}

.gift-img {
    margin: 20px auto;
    max-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");
}

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

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

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

#footer {
    font-style: italic;
    width: 400px;
    margin: 40px auto 20px;
}

a {
    color: white;
}

/* 
Add the footer paragraph according to the design. 
Configure the anchor tag to open the link in a new tab.
Forgotten how to do it? Google it! 

Link: 
https://scrimba.com/learn/htmlandcss

Text:
Want to create your own Birthday GIFt site? Take this HTML & CSS course.
*/

================================================
FILE: 5. Build a Birthday GIFt Site/19. Personalize the Birthday GIFt Site/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Happy+Monkey&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <div id="header">
            <h1>Today is Nick's birthday 🎉</h1>
            <img id="bff-img" src="images/nick.jpg">
            <h2 id="bday-age">24 years old</h2>
            <h4 id="bday-date">01.11.2022</h4>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">Here's how happy I am for you today 🥳</h2>
            <h3 class="gift-hint">(Hover over the gift)</h3>
            <div class="gift-img" id="gift-img-happy"></div>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">How people react when you enter the room 😍</h2>
            <div class="gift-img" id="gift-img-hot"></div>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">If I had to describe you with ONE word 👇</h2>
            <div class="gift-img" id="gift-img-genius"></div>
        </div>
        
        <div class="gift-section">
            <h2 class="gift-title">The only person as badass as you 💪</h2>
            <div class="gift-img" id="gift-img-badass"></div>
        </div>
        
         <div class="gift-section">
            <h2 class="gift-title">This one's for you, my friend 🥂</h2>
            <div class="gift-img" id="gift-img-cheers"></div>
        </div>
        
        <p id="footer">Want to create your own Birthday GIFt site? Take <a href="https://scrimba.com/learn/htmlandcss" target="_blank">this HTML & CSS course.</a></p>
        
    </body>
</html>

================================================
FILE: 5. Build a Birthday GIFt Site/19. Personalize the Birthday GIFt Site/styles.css
================================================
body {
    text-align: center;
    font-family: 'Happy Monkey', cursive;
    background: linear-gradient(#a2d2ff, #EFB0C9);
    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-cheers {
    height: 200px;
}

.gift-img {
    margin: 20px auto;
    max-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");
}

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

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

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

#footer {
    font-style: italic;
    width: 400px;
    margin: 40px auto 20px;
}

a {
    color: white;
}

/* 
Add the footer paragraph according to the design. 
Configure the anchor tag to open the link in a new tab.
Forgotten how to do it? Google it! 

Link: 
https://scrimba.com/learn/htmlandcss

Text:
Want to create your own Birthday GIFt site? Take this HTML & CSS course.
*/

================================================
FILE: 5. Build a Birthday GIFt Site/2. Add basic header styling/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <h1>Today is Nick's birthday 🎉</h1>
        <img src="nick.jpg">
        <h2>24 years old</h2>
        <h4>01.11.2022</h4>
    </body>
</html>

================================================
FILE: 5. Build a Birthday GIFt Site/2. Add basic header styling/styles.css
================================================
/*
Challenge:
Style the app according to the provided design.
The font is called "Happy Monkey" and can be
embedded via Google Fonts.

Don't know how to make an image round? Google it!
Also, consider how you should select the image 
(class vs id vs element selector).
*/


================================================
FILE: 5. Build a Birthday GIFt Site/3. Set the colors/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Happy+Monkey&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <h1>Today is Nick's birthday 🎉</h1>
        <img id="bff-img" src="nick.jpg">
        <h2>24 years old</h2>
        <h4>01.11.2022</h4>
    </body>
</html>

================================================
FILE: 5. Build a Birthday GIFt Site/3. Set the colors/styles.css
================================================
/*
Challenge:
Add colors to the site based on the provided design.

pink: #EFB0C9
blue: #a2d2ff
white: #ffffff
*/

body {
    text-align: center;
    font-family: 'Happy Monkey', cursive;
}

#bff-img {
    width: 150px;
    border-radius: 50%;
}

================================================
FILE: 5. Build a Birthday GIFt Site/4. Add shadow on text/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Happy+Monkey&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <h1>Today is Nick's birthday 🎉</h1>
        <img id="bff-img" src="nick.jpg">
        <h2>24 years old</h2>
        <h4>01.11.2022</h4>
    </body>
</html>

================================================
FILE: 5. Build a Birthday GIFt Site/4. Add shadow on text/styles.css
================================================
body {
    text-align: center;
    font-family: 'Happy Monkey', cursive;
    background: #a2d2ff;
    color: #ffffff;
}

/*
Challenge:
Add a thin blurred border around the <h1>, <h2>, 
and <h4> using the text-shadow technique you 
learned in the Space Exploration section. Set
the blur to 1px and the color to black.
*/

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

================================================
FILE: 5. Build a Birthday GIFt Site/5. We have a problem that flexbox can fix/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Happy+Monkey&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <h1>Today is Nick's birthday 🎉</h1>
        <img id="bff-img" src="nick.jpg">
        <h2>24 years old</h2>
        <h4>01.11.2022</h4>
    </body>
</html>

================================================
FILE: 5. Build a Birthday GIFt Site/5. We have a problem that flexbox can fix/styles.css
================================================
body {
    text-align: center;
    font-family: 'Happy Monkey', cursive;
    background: #a2d2ff;
    color: #ffffff;
}

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

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

h2, h4 {
    background: #EFB0C9;
}

================================================
FILE: 5. Build a Birthday GIFt Site/6. Aside - align-items/index.css
================================================
.container {
    border: 8px solid #016a26;
    height: 260px;
    /*
    Challenge:
    Follow my orders on where we should
    leave up our lab equipment!
    
    justify-content:
    start, center, end, space-around, 
    space-evenly, space-between
    
    align-items:
    start, center, end
    */
}

.item {
    width: 50px;
    height: 50px;
    margin: 2px;
    padding: 10px;
    font-size: 50px;
    border: 2px solid black;
    background: linear-gradient(#14463d, #016a26);
}


================================================
FILE: 5. Build a Birthday GIFt Site/6. Aside - align-items/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="index.css">
    </head>
    <body>
        <div class="container">
            <div class="item">🥽</div>
            <div class="item">🧪</div>
            <div class="item">🧫</div>
        </div>
    </body>
</html>

================================================
FILE: 5. Build a Birthday GIFt Site/7. Aside - flex-direction/index.css
================================================
.container {
    border: 8px solid #016a26;
    height: 360px;
    /*
    Challenge:
    Follow my orders on where we should
    leave our lab equipment!
    
    justify-content:
    start, center, end, space-around, 
    space-evenly, space-between
    
    align-items:
    start, center, end
    */
    display: flex;
    justify-content: start;
    align-items: start;
}

.item {
    width: 50px;
    height: 50px;
    margin: 2px;
    padding: 10px;
    font-size: 50px;
    border: 2px solid black;
    background: linear-gradient(#14463d, #016a26);
}


================================================
FILE: 5. Build a Birthday GIFt Site/7. Aside - flex-direction/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="index.css">
    </head>
    <body>
        <div class="container">
            <div class="item">🥽</div>
            <div class="item">🧪</div>
            <div class="item">🧫</div>
        </div>
    </body>
</html>

================================================
FILE: 5. Build a Birthday GIFt Site/8. Turn the header into a flexbox/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Happy+Monkey&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <h1>Today is Nick's birthday 🎉</h1>
        <img id="bff-img" src="nick.jpg">
        <h2>24 years old</h2>
        <h4>01.11.2022</h4>
    </body>
</html>

================================================
FILE: 5. Build a Birthday GIFt Site/8. Turn the header into a flexbox/styles.css
================================================
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;
}

h2, h4 {
    background: #EFB0C9;
}

/*
Challenge:
First, wrap the HTML elements in a <div> with an 
id called "header".

Then, select the "header" and use flexbox to achieve
the layout you've been provided in the design slide.
*/

================================================
FILE: 5. Build a Birthday GIFt Site/9. Fix date and age design/index.html
================================================
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Happy+Monkey&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <div id="header">
            <h1>Today is Nick's birthday 🎉</h1>
            <img id="bff-img" src="nick.jpg">
            <h2>24 years old</h2>
            <h4>01.11.2022</h4>
        </div>
    </body>
</html>

================================================
FILE: 5. Build a Birthday GIFt Site/9. Fix date and age design/styles.css
================================================
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;
}

h2, h4 {
    background: #EFB0C9;
}

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

================================================
FILE: 6. Solo Project Hometown Homepage/2. Solo Project - Hometown Homepage/index.html
================================================
<!DOCTYPE html>
<html>
    <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        
        <!-- HERO SECTION -->
        <div>
            <h1>Visit Torshov</h1>
            <h2>Enjoy culture and sports in this vibrant district close to the center of Oslo.</h2>
        </div>
        
        <!-- ACTIVITIES SECTION -->
        <div>
            <h3>Top three activities to do at Torshov</h3>
            <img src="images/park.jpg">
            <img src="images/theatre.jpg">
            <img src="images/sports.jpg">
        </div>

        <!-- GUIDE SECTION -->
        <div>
            <h3>Your guide</h3>
            <p>"I have lived at Torshov for over 30 years, so I can show you all of its best parts and hidden secrets."</p>
            <h4>Per Harald Borgen</h4>
            <img src="images/per.jpg">
        </div>
    </body>
</html>

================================================
FILE: 6. Solo Project Hometown Homepage/2. Solo Project - Hometown Homepage/styles.css
================================================
/**
Palette: https://scrimba.com/links/hometown-palette
RED: #E63946
LIGHT: #F1FAEE
AQUA: #A8DADC
LIGHT BLUE: #457B9D
DARK BLUE: #1D3557

*/

body {
    margin: 0;
    text-align: center;
}

img {
    width: 100px;
}

================================================
FILE: README.md
================================================
## Welcome to [Learn HTML and CSS](https://scrimba.com/learn/htmlandcss)

Here, you can find the starter files for all the challenges in the course. To get started, download the entire repo and then navigate to the folder you need - the folders are structured just like the course. 

If you have any problems at all, send an email to help@scrimba.com or join our [Discord server](scrimba.com/discord) and we'll give you a hand. 

Happy coding!
Download .txt
gitextract_ffi8nvge/

├── 1. Build and deploy your first website/
│   ├── 1. Welcome to the HTML and CSS course/
│   │   ├── index.html.html
│   │   └── styles.css
│   ├── 10. Aside - Anchor Tags/
│   │   ├── index.html
│   │   └── work.html
│   ├── 11. Add an anchor tag to Google.com/
│   │   ├── blog.html
│   │   ├── index.html
│   │   └── styles.css
│   ├── 12. Proper document structure/
│   │   ├── blog.html
│   │   ├── index.html
│   │   └── styles.css
│   ├── 13. Aside - Lists/
│   │   └── index.html
│   ├── 14. Build a Personal Website/
│   │   ├── index.html
│   │   ├── index.js
│   │   └── styles.css
│   ├── 2. HTML tags/
│   │   └── index.html
│   ├── 3. Write a news article/
│   │   └── index.html
│   ├── 4. The img tag/
│   │   └── index.html
│   ├── 5. Nesting/
│   │   └── index.html
│   ├── 7. Interactive elements - button/
│   │   └── index.html
│   ├── 8. Interactive elements - input tags - input types/
│   │   └── index.html
│   └── 9. Lets build Google/
│       ├── index.html
│       └── styles.css
├── 2. Build a Google.com clone/
│   ├── 1. Lets Learn CSS/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 10. CSS classes/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 11. Aside - Learn margins via flags/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 12. Add space between our elements/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 13. Aside - centering with margins/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 14. Centering our content/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 15. Aside - padding/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 16. Aside - border and border-radius/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 17. Aside challenge - style Twitter button/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 18. Fix the input field/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 19. Center the button/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 2. Write your first lines of CSS/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 20. Style the button/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 21. Why we cant have two block-level buttons/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 22. Aside - flexbox/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 23. Centering both buttons with flexbox/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 3. Write your first lines of CSS - Solution/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 5. Link to the CSS file/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 6. Set the width of the elements/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 7. Inline vs block elements/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 8. Margin top/
│   │   ├── index.html
│   │   └── styles.css
│   └── 9. Divs rule the world/
│       ├── index.html
│       └── styles.css
├── 3. Build a digital Business Card/
│   ├── 1. Building your digital Business Card/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 10. Center the card/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 11. Aside - inheritance/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 12. Center the text via inheritance/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 13. Add colors/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 14. Web-safe fonts/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 15. Aside - Margin padding shorthand/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 16. Use the margin and padding shorthands/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 17. Make it your own/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 2. Fix the image path/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 3. Add alt attribute/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 4. Make image smaller/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 5. Add a border and padding/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 6. Aside - flexbox child containers/
│   │   └── index.html
│   ├── 7. Flex item containers/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 8. Add a utility class/
│   │   ├── index.html
│   │   └── styles.css
│   └── 9. Justify the items/
│       ├── index.html
│       └── styles.css
├── 4. Build a Space Exploration Site/
│   ├── 1. Lets go to space/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 11. Add the terms and conditions section/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 12. Aside - text shadow/
│   │   ├── index.css
│   │   └── index.html
│   ├── 13. Improving the readability with text shadows/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 2. Add a background image from unsplash/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 3. Center elements and style button/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 4. Add a Google Font/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 5. font-face/
│   │   ├── index.css
│   │   ├── index.html
│   │   └── index.js
│   ├── 6. Aside - spans/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 7. Add an underline using a span/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 8. Use an ID for the logo/
│   │   ├── index.html
│   │   └── styles.css
│   └── 9. Replace the jpg with a webp/
│       ├── index.html
│       └── styles.css
├── 5. Build a Birthday GIFt Site/
│   ├── 1. Let's build a birthday GIFt site/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 10. Create the first gift/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 11. Replacing the img with a div/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 12. Aside - make elements change on hover/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 13. Add the hover effect/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 14. Create the next GIFt/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 15. Create two more GIFts/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 16. Create the final GIFt/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 17. Add the footer/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 18. Add a background gradient/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 19. Personalize the Birthday GIFt Site/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 2. Add basic header styling/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 3. Set the colors/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 4. Add shadow on text/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 5. We have a problem that flexbox can fix/
│   │   ├── index.html
│   │   └── styles.css
│   ├── 6. Aside - align-items/
│   │   ├── index.css
│   │   └── index.html
│   ├── 7. Aside - flex-direction/
│   │   ├── index.css
│   │   └── index.html
│   ├── 8. Turn the header into a flexbox/
│   │   ├── index.html
│   │   └── styles.css
│   └── 9. Fix date and age design/
│       ├── index.html
│       └── styles.css
├── 6. Solo Project Hometown Homepage/
│   └── 2. Solo Project - Hometown Homepage/
│       ├── index.html
│       └── styles.css
└── README.md
Download .txt
SYMBOL INDEX (5 symbols across 1 files)

FILE: 1. Build and deploy your first website/14. Build a Personal Website/index.js
  function setProp (line 22) | function setProp(prop, value) {
  function favouriteEdgeStyle (line 26) | function favouriteEdgeStyle(style) {
  function favouriteMovieGenre (line 30) | function favouriteMovieGenre(font) {
  function favouriteMode (line 36) | function favouriteMode(mode) {
  function favouriteFruit (line 46) | function favouriteFruit(theme) {
Condensed preview — 165 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (119K chars).
[
  {
    "path": "1. Build and deploy your first website/1. Welcome to the HTML and CSS course/index.html.html",
    "chars": 1972,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "1. Build and deploy your first website/1. Welcome to the HTML and CSS course/styles.css",
    "chars": 1858,
    "preview": "/*\nChallenge:\nChange the site's background into a gradient that goes\nfrom blue at the top to pink at the bottom.\n*/\n\nbod"
  },
  {
    "path": "1. Build and deploy your first website/10. Aside - Anchor Tags/index.html",
    "chars": 184,
    "preview": "<!DOCTYPE><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\"><h1>Per Har"
  },
  {
    "path": "1. Build and deploy your first website/10. Aside - Anchor Tags/work.html",
    "chars": 307,
    "preview": "<!DOCTYPE><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\"><h1>My work"
  },
  {
    "path": "1. Build and deploy your first website/11. Add an anchor tag to Google.com/blog.html",
    "chars": 196,
    "preview": "<!DOCTYPE><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\"><h1>Not muc"
  },
  {
    "path": "1. Build and deploy your first website/11. Add an anchor tag to Google.com/index.html",
    "chars": 398,
    "preview": "<!DOCTYPE><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\"><!-- IGNORE"
  },
  {
    "path": "1. Build and deploy your first website/11. Add an anchor tag to Google.com/styles.css",
    "chars": 777,
    "preview": "body, html {\n    margin: 0;\n    padding: 0; \n}\n\nimg {\n    width: 30%;\n    display: block;\n    margin: 100px auto 20px;\n "
  },
  {
    "path": "1. Build and deploy your first website/12. Proper document structure/blog.html",
    "chars": 331,
    "preview": "<!DOCTYPE><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\"><h1>Not muc"
  },
  {
    "path": "1. Build and deploy your first website/12. Proper document structure/index.html",
    "chars": 326,
    "preview": "<!DOCTYPE><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\"><link rel=\""
  },
  {
    "path": "1. Build and deploy your first website/12. Proper document structure/styles.css",
    "chars": 769,
    "preview": "body, html {\n    margin: 0;\n    padding: 0; \n}\n\nimg {\n    width: 30%;\n    display: block;\n    margin: 100px auto 20px;\n "
  },
  {
    "path": "1. Build and deploy your first website/13. Aside - Lists/index.html",
    "chars": 278,
    "preview": "<!doctype html>\n<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/nor"
  },
  {
    "path": "1. Build and deploy your first website/14. Build a Personal Website/index.html",
    "chars": 576,
    "preview": "<!doctype html>\n<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/nor"
  },
  {
    "path": "1. Build and deploy your first website/14. Build a Personal Website/index.js",
    "chars": 2529,
    "preview": "// Challenge 2:\n// Replace the parameters below according to your preference.\n\n// space, scary, military, romantic, cowb"
  },
  {
    "path": "1. Build and deploy your first website/14. Build a Personal Website/styles.css",
    "chars": 1504,
    "preview": ":root {\n    --superhero: 'Bangers', cursive;\n    --fantasy: 'MedievalSharp', cursive;\n    --space: 'Orbitron', sans-seri"
  },
  {
    "path": "1. Build and deploy your first website/2. HTML tags/index.html",
    "chars": 270,
    "preview": "<!DOCTYPE><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\"><h1>I code,"
  },
  {
    "path": "1. Build and deploy your first website/3. Write a news article/index.html",
    "chars": 468,
    "preview": "<!DOCTYPE><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\"><!-- \nChall"
  },
  {
    "path": "1. Build and deploy your first website/4. The img tag/index.html",
    "chars": 771,
    "preview": "<!DOCTYPE><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\"><h1>Humans "
  },
  {
    "path": "1. Build and deploy your first website/5. Nesting/index.html",
    "chars": 566,
    "preview": "<!DOCTYPE><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\"><h1>Humans "
  },
  {
    "path": "1. Build and deploy your first website/7. Interactive elements - button/index.html",
    "chars": 272,
    "preview": "<!DOCTYPE><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\"><!--\nChalle"
  },
  {
    "path": "1. Build and deploy your first website/8. Interactive elements - input tags - input types/index.html",
    "chars": 360,
    "preview": "<!DOCTYPE><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\"><h1>Welcome"
  },
  {
    "path": "1. Build and deploy your first website/9. Lets build Google/index.html",
    "chars": 317,
    "preview": "<!DOCTYPE><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\"><!-- IGNORE"
  },
  {
    "path": "1. Build and deploy your first website/9. Lets build Google/styles.css",
    "chars": 728,
    "preview": "body, html {\n    margin: 0;\n    padding: 0; \n}\n\nimg {\n    width: 30%;\n    display: block;\n    margin: 100px auto 20px;\n "
  },
  {
    "path": "2. Build a Google.com clone/1. Lets Learn CSS/index.html",
    "chars": 541,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "2. Build a Google.com clone/1. Lets Learn CSS/styles.css",
    "chars": 771,
    "preview": ".main {\n    margin-top: 100px;    \n}\n\n.logo-img {\n    display: block;\n    width: 300px;\n    margin-bottom: 20px;\n    mar"
  },
  {
    "path": "2. Build a Google.com clone/10. CSS classes/index.html",
    "chars": 315,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "2. Build a Google.com clone/10. CSS classes/styles.css",
    "chars": 127,
    "preview": "div {\n    margin-top: 100px;\n}\n\nimg {\n    display: block;\n    width: 300px;\n}\n\ninput {\n    display: block;\n    width: 40"
  },
  {
    "path": "2. Build a Google.com clone/11. Aside - Learn margins via flags/index.html",
    "chars": 310,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "2. Build a Google.com clone/11. Aside - Learn margins via flags/styles.css",
    "chars": 165,
    "preview": ".red {\n    background: #c71226;\n    height: 100px;\n}\n\n.blue {\n    background: #0d1b88;\n    height: 100px;\n}\n\n.green {\n  "
  },
  {
    "path": "2. Build a Google.com clone/12. Add space between our elements/index.html",
    "chars": 358,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "2. Build a Google.com clone/12. Add space between our elements/styles.css",
    "chars": 285,
    "preview": "/*\nChallenge: \nAdd some space between the logo \nand the search field.\n\nWhat are the two different ways \nwe can do this w"
  },
  {
    "path": "2. Build a Google.com clone/13. Aside - centering with margins/index.html",
    "chars": 240,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "2. Build a Google.com clone/13. Aside - centering with margins/styles.css",
    "chars": 27,
    "preview": "img {\n    width: 200px;\n}\n\n"
  },
  {
    "path": "2. Build a Google.com clone/14. Centering our content/index.html",
    "chars": 362,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "2. Build a Google.com clone/14. Centering our content/styles.css",
    "chars": 228,
    "preview": "\n/*\nChallenge:\nCenter the logo and the search field.\n*/\n.main {\n    margin-top: 100px;    \n}\n\n.logo-img {\n    display: b"
  },
  {
    "path": "2. Build a Google.com clone/15. Aside - padding/index.html",
    "chars": 634,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "2. Build a Google.com clone/15. Aside - padding/styles.css",
    "chars": 30,
    "preview": ".card {\n    color: #222222;\n}\n"
  },
  {
    "path": "2. Build a Google.com clone/16. Aside - border and border-radius/index.html",
    "chars": 630,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "2. Build a Google.com clone/16. Aside - border and border-radius/styles.css",
    "chars": 242,
    "preview": ".card {\n    color: #222222;\n    background: lightgray;\n    width: 300px;\n    margin-top: 50px;\n    margin-left: auto;\n  "
  },
  {
    "path": "2. Build a Google.com clone/17. Aside challenge - style Twitter button/index.html",
    "chars": 243,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "2. Build a Google.com clone/17. Aside challenge - style Twitter button/styles.css",
    "chars": 172,
    "preview": "/* \nChallenge: \nMake the button look like Twitter's \"Following\" button!\n(Except for the font)\n\nHints:\nborder color: #cfd"
  },
  {
    "path": "2. Build a Google.com clone/18. Fix the input field/index.html",
    "chars": 362,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "2. Build a Google.com clone/18. Fix the input field/styles.css",
    "chars": 355,
    "preview": "\n\n\n.main {\n    margin-top: 100px;    \n}\n\n.logo-img {\n    display: block;\n    width: 300px;\n    margin-bottom: 20px;\n    "
  },
  {
    "path": "2. Build a Google.com clone/19. Center the button/index.html",
    "chars": 362,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "2. Build a Google.com clone/19. Center the button/styles.css",
    "chars": 508,
    "preview": ".main {\n    margin-top: 100px;    \n}\n\n.logo-img {\n    display: block;\n    width: 300px;\n    margin-bottom: 20px;\n    mar"
  },
  {
    "path": "2. Build a Google.com clone/2. Write your first lines of CSS/index.html",
    "chars": 248,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "2. Build a Google.com clone/2. Write your first lines of CSS/styles.css",
    "chars": 464,
    "preview": "/* \nChallenge:\nRe-design the cookie widget!\nPS: Make sure you change ALL of the listed CSS properties.\n*/\n\nbody {\n    ba"
  },
  {
    "path": "2. Build a Google.com clone/20. Style the button/index.html",
    "chars": 417,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "2. Build a Google.com clone/20. Style the button/styles.css",
    "chars": 848,
    "preview": ".main {\n    margin-top: 100px;    \n}\n\n.logo-img {\n    display: block;\n    width: 300px;\n    margin-bottom: 20px;\n    mar"
  },
  {
    "path": "2. Build a Google.com clone/21. Why we cant have two block-level buttons/index.html",
    "chars": 583,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "2. Build a Google.com clone/21. Why we cant have two block-level buttons/styles.css",
    "chars": 726,
    "preview": ".main {\n    margin-top: 100px;    \n}\n\n.logo-img {\n    display: block;\n    width: 300px;\n    margin-bottom: 20px;\n    mar"
  },
  {
    "path": "2. Build a Google.com clone/22. Aside - flexbox/index.html",
    "chars": 334,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "2. Build a Google.com clone/22. Aside - flexbox/styles.css",
    "chars": 129,
    "preview": ".item {\n    text-align: center;\n    border: 1px solid black;\n    padding: 10px;\n    margin-top: 10px;\n    margin-bottom:"
  },
  {
    "path": "2. Build a Google.com clone/23. Centering both buttons with flexbox/index.html",
    "chars": 476,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "2. Build a Google.com clone/23. Centering both buttons with flexbox/styles.css",
    "chars": 831,
    "preview": "/*\nChallenge:\nWrap the buttons in a flexbox div and center them.\nGive the div a \"btn-wrapper\" class.\n*/\n\n.main {\n    mar"
  },
  {
    "path": "2. Build a Google.com clone/3. Write your first lines of CSS - Solution/index.html",
    "chars": 248,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "2. Build a Google.com clone/3. Write your first lines of CSS - Solution/styles.css",
    "chars": 464,
    "preview": "/* \nChallenge:\nRe-design the cookie widget!\nPS: Make sure you change ALL of the listed CSS properties.\n*/\n\nbody {\n    ba"
  },
  {
    "path": "2. Build a Google.com clone/5. Link to the CSS file/index.html",
    "chars": 306,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">    "
  },
  {
    "path": "2. Build a Google.com clone/5. Link to the CSS file/styles.css",
    "chars": 31,
    "preview": "body {\n    background: red;\n}\n\n"
  },
  {
    "path": "2. Build a Google.com clone/6. Set the width of the elements/index.html",
    "chars": 273,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">    "
  },
  {
    "path": "2. Build a Google.com clone/6. Set the width of the elements/styles.css",
    "chars": 88,
    "preview": "/*\nChallenge:\nSelect the img tag and set the width \nof the Google logo to be 300px.\n*/\n\n"
  },
  {
    "path": "2. Build a Google.com clone/7. Inline vs block elements/index.html",
    "chars": 273,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">    "
  },
  {
    "path": "2. Build a Google.com clone/7. Inline vs block elements/styles.css",
    "chars": 105,
    "preview": "/*\nChallenge: \nTurn the elements into blocks!\n*/\n\nimg {\n    width: 300px;\n}\n\ninput {\n    width: 400px;\n}\n"
  },
  {
    "path": "2. Build a Google.com clone/8. Margin top/index.html",
    "chars": 363,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "2. Build a Google.com clone/8. Margin top/styles.css",
    "chars": 243,
    "preview": "img {\n    /* Challenge: \n    Add some space (margin) above our image!\n    Do you remember how we added spacing in the \n "
  },
  {
    "path": "2. Build a Google.com clone/9. Divs rule the world/index.html",
    "chars": 274,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "2. Build a Google.com clone/9. Divs rule the world/styles.css",
    "chars": 118,
    "preview": "img {\n    margin-top: 100px;\n    display: block;\n    width: 300px;\n}\n\ninput {\n    display: block;\n    width: 400px;\n}\n"
  },
  {
    "path": "3. Build a digital Business Card/1. Building your digital Business Card/index.html",
    "chars": 468,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "3. Build a digital Business Card/1. Building your digital Business Card/styles.css",
    "chars": 514,
    "preview": "body {\n    margin: 20px;\n    font-family: Verdana, Geneva, Tahoma, sans-serif;\n}\n\n.avatar {\n    width: 150px;\n}\n\n.card {"
  },
  {
    "path": "3. Build a digital Business Card/10. Center the card/index.html",
    "chars": 616,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "3. Build a digital Business Card/10. Center the card/styles.css",
    "chars": 273,
    "preview": "body {\n    margin: 20px;\n}\n\n.avatar {\n    width: 150px;\n}\n\n.card {\n    /*\n    Challenge:\n    Give the card a width of 40"
  },
  {
    "path": "3. Build a digital Business Card/11. Aside - inheritance/index.html",
    "chars": 4360,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "3. Build a digital Business Card/11. Aside - inheritance/styles.css",
    "chars": 28,
    "preview": "body {\n    margin: 10px;\n}\n\n"
  },
  {
    "path": "3. Build a digital Business Card/12. Center the text via inheritance/index.html",
    "chars": 616,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "3. Build a digital Business Card/12. Center the text via inheritance/styles.css",
    "chars": 426,
    "preview": "/*\nChallenge:\nCenter the text in the <p> and <h4> elements.\n\nNote: you should only add ONE property, as inheritance \nsho"
  },
  {
    "path": "3. Build a digital Business Card/13. Add colors/index.html",
    "chars": 616,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "3. Build a digital Business Card/13. Add colors/styles.css",
    "chars": 446,
    "preview": "body {\n    margin: 20px;\n}\n\n.avatar {\n    width: 150px;\n}\n\n.card {\n    width: 400px;\n    margin-left: auto;\n    margin-r"
  },
  {
    "path": "3. Build a digital Business Card/14. Web-safe fonts/index.html",
    "chars": 572,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "3. Build a digital Business Card/14. Web-safe fonts/styles.css",
    "chars": 423,
    "preview": "body {\n    margin: 20px;\n    /*\n    Challenge:\n    Set the font to Verdana.\n    */\n}\n\n.avatar {\n    width: 150px;\n}\n\n.ca"
  },
  {
    "path": "3. Build a digital Business Card/15. Aside - Margin padding shorthand/index.html",
    "chars": 256,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "3. Build a digital Business Card/15. Aside - Margin padding shorthand/styles.css",
    "chars": 284,
    "preview": ".red-circle {\n    height: 150px;\n    width: 150px;\n    border-radius: 100%;\n    background: #BC002D;\n    \n    /* \n    Ch"
  },
  {
    "path": "3. Build a digital Business Card/16. Use the margin and padding shorthands/index.html",
    "chars": 535,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "3. Build a digital Business Card/16. Use the margin and padding shorthands/styles.css",
    "chars": 519,
    "preview": "body {\n    margin: 20px;\n    font-family: Verdana, Geneva, Tahoma, sans-serif;\n}\n\n.avatar {\n    width: 150px;\n}\n\n.card {"
  },
  {
    "path": "3. Build a digital Business Card/17. Make it your own/index.html",
    "chars": 468,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "3. Build a digital Business Card/17. Make it your own/styles.css",
    "chars": 944,
    "preview": "body {\n    margin: 20px;\n    /*\n    Challenge:\n    Find a web safe font you like, and add it \n    to your card.\n    */\n "
  },
  {
    "path": "3. Build a digital Business Card/2. Fix the image path/index.html",
    "chars": 564,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "3. Build a digital Business Card/2. Fix the image path/styles.css",
    "chars": 27,
    "preview": "body {\n    margin: 20px;\n}\n"
  },
  {
    "path": "3. Build a digital Business Card/3. Add alt attribute/index.html",
    "chars": 497,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "3. Build a digital Business Card/3. Add alt attribute/styles.css",
    "chars": 27,
    "preview": "body {\n    margin: 20px;\n}\n"
  },
  {
    "path": "3. Build a digital Business Card/4. Make image smaller/index.html",
    "chars": 463,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "3. Build a digital Business Card/4. Make image smaller/styles.css",
    "chars": 125,
    "preview": "body {\n    margin: 20px;\n}\n\n\n/*\nChallenge:\nSet the width of the image to 150px.\nPS: Use a class to select the img elemen"
  },
  {
    "path": "3. Build a digital Business Card/5. Add a border and padding/index.html",
    "chars": 510,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "3. Build a digital Business Card/5. Add a border and padding/styles.css",
    "chars": 232,
    "preview": "body {\n    margin: 20px;\n}\n\n.avatar {\n    width: 150px;\n}\n\n/*\nChallenge:\n1. Give the card div a class (name it \"card\")\n2"
  },
  {
    "path": "3. Build a digital Business Card/6. Aside - flexbox child containers/index.html",
    "chars": 675,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "3. Build a digital Business Card/7. Flex item containers/index.html",
    "chars": 678,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "3. Build a digital Business Card/7. Flex item containers/styles.css",
    "chars": 136,
    "preview": "body {\n    margin: 20px;\n}\n\n.avatar {\n    width: 150px;\n}\n\n.card {\n    border: 1px dotted blue;\n    padding: 20px;\n    d"
  },
  {
    "path": "3. Build a digital Business Card/8. Add a utility class/index.html",
    "chars": 572,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "3. Build a digital Business Card/8. Add a utility class/styles.css",
    "chars": 258,
    "preview": "body {\n    margin: 20px;\n}\n\n.avatar {\n    width: 150px;\n}\n\n.card {\n    border: 1px dotted blue;\n    padding: 20px;\n    d"
  },
  {
    "path": "3. Build a digital Business Card/9. Justify the items/index.html",
    "chars": 616,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "3. Build a digital Business Card/9. Justify the items/styles.css",
    "chars": 270,
    "preview": "body {\n    margin: 20px;\n}\n\n.avatar {\n    width: 150px;\n}\n\n.card {\n    padding: 20px;\n    display: flex;\n    /*\n    Chal"
  },
  {
    "path": "4. Build a Space Exploration Site/1. Lets go to space/index.html",
    "chars": 742,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "4. Build a Space Exploration Site/1. Lets go to space/styles.css",
    "chars": 668,
    "preview": "body {\n    margin: 0;\n    color: #82a5ca;\n    text-align: center;\n    font-family: 'Orbitron', sans-serif;\n}\n\n#hero {\n  "
  },
  {
    "path": "4. Build a Space Exploration Site/11. Add the terms and conditions section/index.html",
    "chars": 636,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "4. Build a Space Exploration Site/11. Add the terms and conditions section/styles.css",
    "chars": 755,
    "preview": "/*\nChallenge:\nWrap the \"hero\" section (title, button, logo) in a <div>\nand set its background image to the galaxy image."
  },
  {
    "path": "4. Build a Space Exploration Site/12. Aside - text shadow/index.css",
    "chars": 240,
    "preview": "body {\n    letter-spacing: 4px;\n    background: #b7111b;\n    color: #fafbf4;\n    text-align: center;\n    font-family: 'K"
  },
  {
    "path": "4. Build a Space Exploration Site/12. Aside - text shadow/index.html",
    "chars": 674,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "4. Build a Space Exploration Site/13. Improving the readability with text shadows/index.html",
    "chars": 731,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "4. Build a Space Exploration Site/13. Improving the readability with text shadows/styles.css",
    "chars": 620,
    "preview": "body {\n    margin: 0;\n    color: #82a5ca;\n    text-align: center;\n    font-family: 'Orbitron', sans-serif;\n}\n\n#hero {\n  "
  },
  {
    "path": "4. Build a Space Exploration Site/2. Add a background image from unsplash/index.html",
    "chars": 281,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "4. Build a Space Exploration Site/2. Add a background image from unsplash/styles.css",
    "chars": 107,
    "preview": "body {\n    color: white;\n    background-image: url(\"images/universe.jpg\");\n    background-size: cover;\n}\n\n\n"
  },
  {
    "path": "4. Build a Space Exploration Site/3. Center elements and style button/index.html",
    "chars": 292,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "4. Build a Space Exploration Site/3. Center elements and style button/styles.css",
    "chars": 236,
    "preview": "/*\nChallenge:\n1. Center the text and button\n2. Style the button according to the design.\n   Use a class to select the bu"
  },
  {
    "path": "4. Build a Space Exploration Site/4. Add a Google Font/index.html",
    "chars": 337,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "4. Build a Space Exploration Site/4. Add a Google Font/styles.css",
    "chars": 339,
    "preview": "body {\n    color: white;\n    background-image: url(\"images/universe.jpg\");\n    background-size: cover;\n    text-align: c"
  },
  {
    "path": "4. Build a Space Exploration Site/5. font-face/index.css",
    "chars": 84,
    "preview": "@font-face {\n    src: url(\"Corleone.ttf\");\n    font-family: Corleone;\n}\n\nh1 {\n    \n}"
  },
  {
    "path": "4. Build a Space Exploration Site/5. font-face/index.html",
    "chars": 280,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "4. Build a Space Exploration Site/5. font-face/index.js",
    "chars": 13,
    "preview": "// javascript"
  },
  {
    "path": "4. Build a Space Exploration Site/6. Aside - spans/index.html",
    "chars": 548,
    "preview": "<html>\n<head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n    <li"
  },
  {
    "path": "4. Build a Space Exploration Site/6. Aside - spans/styles.css",
    "chars": 190,
    "preview": "body {\n    background: whitesmoke;\n    color: whitesmoke;\n    font-family: 'Rammetto One', cursive;\n}\n\n.ad {\n    backgro"
  },
  {
    "path": "4. Build a Space Exploration Site/7. Add an underline using a span/index.html",
    "chars": 552,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "4. Build a Space Exploration Site/7. Add an underline using a span/styles.css",
    "chars": 362,
    "preview": "body {\n    color: white;\n    background-image: url(\"images/universe.jpg\");\n    background-size: cover;\n    text-align: c"
  },
  {
    "path": "4. Build a Space Exploration Site/8. Use an ID for the logo/index.html",
    "chars": 682,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "4. Build a Space Exploration Site/8. Use an ID for the logo/styles.css",
    "chars": 431,
    "preview": "body {\n    color: white;\n    background-image: url(\"images/universe.jpg\");\n    background-size: cover;\n    text-align: c"
  },
  {
    "path": "4. Build a Space Exploration Site/9. Replace the jpg with a webp/index.html",
    "chars": 636,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "4. Build a Space Exploration Site/9. Replace the jpg with a webp/styles.css",
    "chars": 373,
    "preview": "body {\n    color: white;\n    background-image: url(\"images/galaxy.webp\");\n    background-size: cover;\n    text-align: ce"
  },
  {
    "path": "5. Build a Birthday GIFt Site/1. Let's build a birthday GIFt site/index.html",
    "chars": 1972,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "5. Build a Birthday GIFt Site/1. Let's build a birthday GIFt site/styles.css",
    "chars": 1858,
    "preview": "/*\nChallenge:\nChange the site's background into a gradient that goes\nfrom blue at the top to pink at the bottom.\n*/\n\nbod"
  },
  {
    "path": "5. Build a Birthday GIFt Site/10. Create the first gift/index.html",
    "chars": 697,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "5. Build a Birthday GIFt Site/10. Create the first gift/styles.css",
    "chars": 865,
    "preview": "body {\n    text-align: center;\n    font-family: 'Happy Monkey', cursive;\n    background: #a2d2ff;\n    color: #ffffff;\n}\n"
  },
  {
    "path": "5. Build a Birthday GIFt Site/11. Replacing the img with a div/index.html",
    "chars": 950,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "5. Build a Birthday GIFt Site/11. Replacing the img with a div/styles.css",
    "chars": 977,
    "preview": "body {\n    text-align: center;\n    font-family: 'Happy Monkey', cursive;\n    background: #a2d2ff;\n    color: #ffffff;\n}\n"
  },
  {
    "path": "5. Build a Birthday GIFt Site/12. Aside - make elements change on hover/index.html",
    "chars": 292,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "5. Build a Birthday GIFt Site/12. Aside - make elements change on hover/styles.css",
    "chars": 156,
    "preview": "div {\n    text-align: center;\n    color: white;\n    margin: 5px;\n    padding: 25px 0;\n    background: #e5383b;\n    font-"
  },
  {
    "path": "5. Build a Birthday GIFt Site/13. Add the hover effect/index.html",
    "chars": 928,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "5. Build a Birthday GIFt Site/13. Add the hover effect/styles.css",
    "chars": 1002,
    "preview": "body {\n    text-align: center;\n    font-family: 'Happy Monkey', cursive;\n    background: #a2d2ff;\n    color: #ffffff;\n}\n"
  },
  {
    "path": "5. Build a Birthday GIFt Site/14. Create the next GIFt/index.html",
    "chars": 928,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "5. Build a Birthday GIFt Site/14. Create the next GIFt/styles.css",
    "chars": 1383,
    "preview": "body {\n    text-align: center;\n    font-family: 'Happy Monkey', cursive;\n    background: #a2d2ff;\n    color: #ffffff;\n}\n"
  },
  {
    "path": "5. Build a Birthday GIFt Site/15. Create two more GIFts/index.html",
    "chars": 1157,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "5. Build a Birthday GIFt Site/15. Create two more GIFts/styles.css",
    "chars": 1211,
    "preview": "body {\n    text-align: center;\n    font-family: 'Happy Monkey', cursive;\n    background: #a2d2ff;\n    color: #ffffff;\n}\n"
  },
  {
    "path": "5. Build a Birthday GIFt Site/16. Create the final GIFt/index.html",
    "chars": 1564,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "5. Build a Birthday GIFt Site/16. Create the final GIFt/styles.css",
    "chars": 1457,
    "preview": "body {\n    text-align: center;\n    font-family: 'Happy Monkey', cursive;\n    background: #a2d2ff;\n    color: #ffffff;\n}\n"
  },
  {
    "path": "5. Build a Birthday GIFt Site/17. Add the footer/index.html",
    "chars": 1805,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "5. Build a Birthday GIFt Site/17. Add the footer/styles.css",
    "chars": 1607,
    "preview": "body {\n    text-align: center;\n    font-family: 'Happy Monkey', cursive;\n    background: #a2d2ff;\n    color: #ffffff;\n}\n"
  },
  {
    "path": "5. Build a Birthday GIFt Site/18. Add a background gradient/index.html",
    "chars": 1972,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "5. Build a Birthday GIFt Site/18. Add a background gradient/styles.css",
    "chars": 1832,
    "preview": "/*\nChallenge:\nChange the site's background into a gradient that goes\nfrom blue at the top to pink at the bottom.\n*/\n\nbod"
  },
  {
    "path": "5. Build a Birthday GIFt Site/19. Personalize the Birthday GIFt Site/index.html",
    "chars": 1934,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "5. Build a Birthday GIFt Site/19. Personalize the Birthday GIFt Site/styles.css",
    "chars": 1741,
    "preview": "body {\n    text-align: center;\n    font-family: 'Happy Monkey', cursive;\n    background: linear-gradient(#a2d2ff, #EFB0C"
  },
  {
    "path": "5. Build a Birthday GIFt Site/2. Add basic header styling/index.html",
    "chars": 340,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "5. Build a Birthday GIFt Site/2. Add basic header styling/styles.css",
    "chars": 271,
    "preview": "/*\nChallenge:\nStyle the app according to the provided design.\nThe font is called \"Happy Monkey\" and can be\nembedded via "
  },
  {
    "path": "5. Build a Birthday GIFt Site/3. Set the colors/index.html",
    "chars": 604,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "5. Build a Birthday GIFt Site/3. Set the colors/styles.css",
    "chars": 245,
    "preview": "/*\nChallenge:\nAdd colors to the site based on the provided design.\n\npink: #EFB0C9\nblue: #a2d2ff\nwhite: #ffffff\n*/\n\nbody "
  },
  {
    "path": "5. Build a Birthday GIFt Site/4. Add shadow on text/index.html",
    "chars": 604,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "5. Build a Birthday GIFt Site/4. Add shadow on text/styles.css",
    "chars": 406,
    "preview": "body {\n    text-align: center;\n    font-family: 'Happy Monkey', cursive;\n    background: #a2d2ff;\n    color: #ffffff;\n}\n"
  },
  {
    "path": "5. Build a Birthday GIFt Site/5. We have a problem that flexbox can fix/index.html",
    "chars": 604,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "5. Build a Birthday GIFt Site/5. We have a problem that flexbox can fix/styles.css",
    "chars": 303,
    "preview": "body {\n    text-align: center;\n    font-family: 'Happy Monkey', cursive;\n    background: #a2d2ff;\n    color: #ffffff;\n}\n"
  },
  {
    "path": "5. Build a Birthday GIFt Site/6. Aside - align-items/index.css",
    "chars": 491,
    "preview": ".container {\n    border: 8px solid #016a26;\n    height: 260px;\n    /*\n    Challenge:\n    Follow my orders on where we sh"
  },
  {
    "path": "5. Build a Birthday GIFt Site/6. Aside - align-items/index.html",
    "chars": 369,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "5. Build a Birthday GIFt Site/7. Aside - flex-direction/index.css",
    "chars": 559,
    "preview": ".container {\n    border: 8px solid #016a26;\n    height: 360px;\n    /*\n    Challenge:\n    Follow my orders on where we sh"
  },
  {
    "path": "5. Build a Birthday GIFt Site/7. Aside - flex-direction/index.html",
    "chars": 369,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "5. Build a Birthday GIFt Site/8. Turn the header into a flexbox/index.html",
    "chars": 604,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "5. Build a Birthday GIFt Site/8. Turn the header into a flexbox/styles.css",
    "chars": 493,
    "preview": "body {\n    text-align: center;\n    font-family: 'Happy Monkey', cursive;\n    background: #a2d2ff;\n    color: #ffffff;\n}\n"
  },
  {
    "path": "5. Build a Birthday GIFt Site/9. Fix date and age design/index.html",
    "chars": 661,
    "preview": "<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\">\n   "
  },
  {
    "path": "5. Build a Birthday GIFt Site/9. Fix date and age design/styles.css",
    "chars": 408,
    "preview": "body {\n    text-align: center;\n    font-family: 'Happy Monkey', cursive;\n    background: #a2d2ff;\n    color: #ffffff;\n}\n"
  },
  {
    "path": "6. Solo Project Hometown Homepage/2. Solo Project - Hometown Homepage/index.html",
    "chars": 981,
    "preview": "<!DOCTYPE html>\n<html>\n    <head><link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/nor"
  },
  {
    "path": "6. Solo Project Hometown Homepage/2. Solo Project - Hometown Homepage/styles.css",
    "chars": 216,
    "preview": "/**\nPalette: https://scrimba.com/links/hometown-palette\nRED: #E63946\nLIGHT: #F1FAEE\nAQUA: #A8DADC\nLIGHT BLUE: #457B9D\nDA"
  },
  {
    "path": "README.md",
    "chars": 451,
    "preview": "## Welcome to [Learn HTML and CSS](https://scrimba.com/learn/htmlandcss)\r\n\r\nHere, you can find the starter files for all"
  }
]

About this extraction

This page contains the full source code of the scrimba/learn-html-and-css GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 165 files (94.7 KB), approximately 34.5k tokens, and a symbol index with 5 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!