This forum is now read-only. Please use our new forums at discuss.codecademy.com.

CSS: An Overview Forum

View Course » View Exercise

319 points
53ea87a052f863bc070000b7_89701899
Submitted by
wrexxin97
almost 3 years ago

Font Size Issue 23/26

I have put in all the correct coding for the HTML and CSS, but an error telling me the font size isn't correct keeps re-appearing. "Oops, try again. Don't forget to set your p font-size to 18px! It looks like it's currently 17.77777862548828px." is my error message.

Here is my CSS
h1 {
font-family: Verdana;
color: #576D94;
}
p {
font-size: 18px;
color: #4A4943;
}

I don't know what I am doing wrong. Any help would be greatly appreciated


2 votes

permalink

I figured it out!!!!!!!!!!! I had to reset my view using Ctrl 0 to reset my view. I clicked submit and it worked out perfectly. For anybody encountering this issue, if your code is correct, try the Ctrl 0 trick. I am certain it will work if your code is correct.

319 points
53ea87a052f863bc070000b7_89701899
Submitted by
wrexxin97
almost 3 years ago

2 Comments

2b6d2bac840b03efa8301495dc91e96e?s=140&d=retro amberRose2002 almost 3 years ago

Awesome! :) (:

34faeb49d18424f542a1251329aec893?s=140&d=retro KellyM91 over 2 years ago

Thanks!!! :)


0 votes

permalink

I faced the same issue.

Check the sheet index.html
There was an error with the quotation marks in my link type-tag. It said: rel="stylesheet' ...I changed it to rel="stylesheet"
and it worked.
:)

145 points
Cd5f883449dbf8fd7ce27c2cceb97ee6?s=140&d=retro
Submitted by
Karin13505
almost 3 years ago

3 Comments

53ea87a052f863bc070000b7_89701899 wrexxin97 almost 3 years ago

I checked my quotes and it didn't resolve :( I checked my quotes on every line and my HTML seems good and my CSS coding seems correct as well.

53ea87a052f863bc070000b7_89701899 wrexxin97 almost 3 years ago

<!DOCTYPE html>



Result


BMW: The Ultimate Driving Machine
BMW has been the flagship of innovation for almost a century. Their vehicles have been competitively successful both in the consumer market as well as pro racing sports of all varieties. BMW's have built a cult-like following, the drivers of the vehicles all banded together by the commonality of driving the world's ultimate driving machine.

53ea87a052f863bc070000b7_89701899 wrexxin97 almost 3 years ago

There is my HTML. I know it isn't spaced out, but it doesn't have any errors as far as I can see. I could be wrong, though. Anyone that can see an error I can't, Id appreciate the quick tip


0 votes

permalink

I have the same problem.
It shows me this messege
Oops, try again. Don't forget to set your h1 font to Verdana!
and my CSS coding is:
h1{
font-family: Verdana;
color: #576D94;
}
p{
font-size: 18px;
color: #4A4943;
}

143 points
53d97fb3282ae372ee00039f_259635908
Submitted by
Eroka Nemo
almost 3 years ago

9 Comments

53ea87a052f863bc070000b7_89701899 wrexxin97 almost 3 years ago

what does your html look like?

53d97fb3282ae372ee00039f_259635908 Eroka Nemo almost 3 years ago

There is my HTML
<!DOCTYPE html>


Result

I want to be a programmer
I like codeing

53d97fb3282ae372ee00039f_259635908 Eroka Nemo almost 3 years ago

And I have another problem at 25/26
There is my HTML
<!DOCTYPE html>



Result

<h1>I want to be a programmer
</h1>
        <p>I like Codeing
        </p>
        <img src="http://bit.ly/NnVbxt"/>

</body>

and there is My CSS:
h1{
font-family: Verdana,sans-serif;
color: #576D94;
}
p{
font-size: 18px;
color:#4A4943;
font-family: Garamond,serif;
}
img{
height: 100px;
width: 300px;
border: 1px solid #4682b4;
}

but it shows this mesege:
Oops, try again. Did you remember to give your image a 1px solid #4682b4 border?

3be3a11cc4fd548d2ab9c8947be99d2c?s=140&d=retro queenrose almost 3 years ago

hi remove this -
u will find it in link tage
see this
<link-type="................
remove this -
and make space between words link and type
i hope this will solve ur problem

53ea87a052f863bc070000b7_89701899 wrexxin97 almost 3 years ago

Eroka, in your html, on your link type line, there is an e which misspells the link type portion. Take that e out so it is link type, not linke type. Everything else in your code seems to be perfect.

53d97fb3282ae372ee00039f_259635908 Eroka Nemo almost 3 years ago

Thanks a lot my problem in 25/26 was solved but my problem in 23/26 isn't solved

53ea87a052f863bc070000b7_89701899 wrexxin97 almost 3 years ago

Eroka, I think I have found your error. This is your CSS link: You have unneccessary closed tags. This should be one big tag with only two brackets. Copy and paste this into is and see if it works. That should get your code correctly linked to the CSS page and everything. if you run into my font issue, hit CTRL 0 or command 0 (Mac) to reset your view. Your CSS is perfect, but that bit in your HTML is what is causing the error. I hope this helps (:

53d97fb3282ae372ee00039f_259635908 Eroka Nemo almost 3 years ago

Oooooh !! :D thanks a lot it is run thank you ^^

53ea87a052f863bc070000b7_89701899 wrexxin97 almost 3 years ago

eroka you're very welcome (: