Build A Resume Q&A


#1

REVIEW AREA

Ahhhhhh! :open_mouth:

I am copying the example at the beginning of the lesson so you may recognise something. Even though I am copying it, the result is gibberish! HELP IS NEEDED!

CSS:

div {
    border-radius: 5px;
}

#header {
    background-color: #668284;
    height: 60px;
    width: 97.5%;
    position: fixed;
    z-index: 1;
}

#name {
    float:left;
    margin-left: 5px;
    padding-top: 5px;
    font-size: 16px;
    font-family: Verdana, sans-serif;
    color: #ffffff;
}

#email{
    float:right;
    margin-right: 5px;
    padding-top: 5px;
    font-size: 16px;
    font-family: Verdana, sans-serif;
    color: #ffffff;
}


h4 {
    margin-left: 5px;
    margin-bottom: 15px;
    font-family: Verdana, sans-serif;
}

.left {
    background-color: #b9d7d9;
    height: 400px;
    width: 10%;
    float: left;
}

.right {
    background-color: #f4ebc3;
    height: 400px;
    width: 88%;
    margin-top: 50px;
    margin-bottom: 10px;
    float: right;
}

.right p {
    margin-left: 5px;
    margin-right: 5px;
    margin-top: -10px;
    font-family: Garamond, serif;
    color: #000000;
}

li {
    list-style-type: square;
}

a:hover {
    font-weight: bold;
}


#footer {
    background-color: #668284;
    height: 50px;
    clear: both;
}

#footer p {
    position: relative;
    padding-top: 15px;
}

html:

<!DOCTYPE html>
<html>
    <head>
        <link type="text/css" rel="stylesheet" href="stylesheet.css"/>
        <title></title>
    </head>
    <body>
    <div id="header"></div>
        <p id="name">Your Name Here</p>
        <a href="mailto:you@yourdomain.com"><p id="email">you@yourdomain.com</p></a>
    <div class="left"></div>
    <div class="right"></div>
        <h4>Objective</h4>
            <p>To take a position as a software engineer.</p>
            <h4>Experience</h4>
            <p>Junior Developer, Software Company (2010 - Present)</p>
            <ul>
                <li>Designed and implemented end-user features for Flagship Product</li>
                <li>Wrote third-party JavaScript and Ruby libraries</li>
            </ul>
            <h4>Skills</h4>
            <p>Languages: C#, JavaScript, Python, Ruby</p>
            <p>Frameworks: .NET, Node.js, Django, Ruby on Rails</p>
            <h4>Education</h4>
            <p>BS, Economics, My University</p>
            <ul>
                <li>Award for best senior thesis</li>
                <li>GPA: 3.8</li>
            </ul>
        
    <div id="footer"></div>
           <p>123 Your Street, Anytown, State 12345-6789 | Tel: (555) 555-5555</p>
    </body>
</html>

WHAT is going ON !?!?!?! :ambulance: :fire_engine: :police_car:


#2

Well, you made a nice layout:

<div id="header"></div>
<div class="left"></div>
<div class="right"></div>
<div id="footer"></div>

but then you decided to nest none of your paragraphs, list, headers inside your layout. Why? here is a improved version of your code.


#3

That was a very good question: Why didn't you nest any of your paragraphs, lists, or headers?
The answer is : I don't know.
The outcome is: I fixed it and I thank you very much. :blush: