Build Resume - Code Won't Render


#1


https://www.codecademy.com/en/courses/web-beginner-en-9x6JW-WnAFv/0/3?curriculum_id=50579fb998b470000202dc8b

I'm sure I'm overlooking something simple, but code won't render. strangely, codeacademy will say "Good job!" and let me continue when i press save and submit code.


HTML:

<!DOCTYPE html>
<html>
    <head>
        <link type="text/css" rel="stylesheet" href="stylesheet     .css"/>
        <title>Resume</title>
    </head>
    <body>
        <div id="header"></div>
        <div class="left"></div>
        <div class="right"></div>
        <div id="footer"></div>
    </body>

CSS:

div {
    border-radius: 5px;
}

#header {
    height: 50px;
    width: 200px;
    background-color: black;
    position: fixed;
    z-index: 1;
}
.left {
    height: 100px;
    width: 20px;
    background-color: red;
}
.right {
    height: 100px;
    width: 20px;
    background-color: green;
}
#footer {
    height: 50px;
    width: 20px;
    background-color: orange;
}


#2

there is a fault in your <link>, there are two many spaces in stylesheet.css, the value of the href attribute


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.