Exercise 2 Navigation (CSS)- Error message set font-weight to bold


#1

Hi, I've tried tons of times to sort out this exercise and get past it but it keeps saying to set font weight to bold which I have, and my coding matches the hint as well. If any one could help me out that would be great, i'll post my to from index and my main.css coding below so you can check it out :slightly_smiling:

(Index.html)



(Main.css)

<div class="jumbotron">
<div class="nav">
    .nav a {
    color: #5a5a5a;
    font-size: 11px;
    font-weight: bold;
    padding-bottom: 14px;
    padding-left: 10px;
    padding-right: 10px;
    Padding-top: 14px;
    text-transform: uppercase;
    }
    </div>
    </div>

#2

You can not put HTML code in your .css file. The CSS interpreter doesn't understand HTML.

In case you haven't quite sorted it out yet, HTML code looks like this:

<div class="jumbotron">
<div class="nav">
    </div>

#3

A post was split to a new topic: 2. did you figure this out, if so let me in on it