jcram
November 1, 2016, 10:30pm
#1
<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST, BUT DON’T DELETE ANYTHING THAT DOESN’T SAY ‘REPLACE THIS’!>
https://www.codecademy.com/courses/web-beginner-en-9x6JW/0/6?curriculum_id=50579fb998b470000202dc8b#: <replace this with the link to the exercise you’re stuck on.>
doesn’t think I used the font-family atribute
<BEFORE SUBMITTING YOUR TOPIC look at the box of the right of this one to see what your post will look like. Does it look good? Ok, now click +Create Topic >
dayfiri
November 1, 2016, 10:32pm
#2
Can you please provide more information about your problem ?
jcram
November 1, 2016, 10:41pm
#3
word word. i realized how terrible that post is and I’m trying to delete it but thank god for samaritans like you.
so heres my code
<body> <img src="https://s3.amazonaws.com/codecademy-blog/assets/ninja_zpsa5dbe37q.jpg"/>
<p style="color:green" ; font-family="arial" ; font-size="20px">text</p>
so the site says my styling doesn’t work but like why? ya know.
dayfiri
November 1, 2016, 10:47pm
#4
Try putting your <p>
style all in one string.
This is my example:
<p style="font-size:20px; color:0099FF;font-family:Verdana">
<!--some text-->
</p>
jcram
November 1, 2016, 10:48pm
#6
i don’t know what I’m doing
dayfiri
November 1, 2016, 10:50pm
#7
I answered you above. Try doing my example on your code.
So instead of doing:
<p style="color:green" ; font-family="arial" ; font-size="20px">text</p>
try doing:
<p style="color:green ; font-family= arial ; font-size = 20px">text</p>
jcram
November 1, 2016, 10:51pm
#8
see i started with that, it didn’t work so then I saw someone else and tried it and it’s still not working.
dayfiri
November 1, 2016, 10:54pm
#9
This is my code that works.
<img src="http://media-cache-ak0.pinimg.com/736x/c8/70/6f/c8706fff34b81220708a7824df3ccd5b.jpg" />
<p style="font-size:20px; color:0099FF;font-family:Verdana">
<!-- some code -->
</p>
jcram
November 1, 2016, 11:03pm
#10
right?!? like whats is different?
dayfiri
November 1, 2016, 11:07pm
#11
I gave you 2 examples above. Watch the code for a bit and try to see. Don’t make me tell you everything.
Look how many " "
there are in your <p>
and how many there are in mine
jcram
November 1, 2016, 11:10pm
#12
alright man, thanks for being patient with me. imma just keep plugging away.
dayfiri
November 1, 2016, 11:11pm
#13
It is not a problem to help just try to see or understand what I’m trying to give you.
Do you see the difference in " "
between my <p>
and your <p>
?
jcram
November 2, 2016, 9:05pm
#14
yeah for sure and I tried it both ways and thats what I don’t get.
jcram
November 2, 2016, 9:12pm
#15
duuuuude… found it, font-family:arial, not font-family=arial.
hahaha ■■■■
well thanks stranger!
1 Like
system
closed
November 9, 2016, 9:12pm
#16
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.