This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
Submitted by sandy5
almost 11 years

Please Help me with wrap the word "Futura" in the <span>

<!DOCTYPE html>
<html>
    <head>
        <title>Result</title>
    </head>
    <body>
        <p>My favorite font is <span style="color:Purple; font-size:12px; font-family:Futura">Futura</span>!</p>
    </body>
</html>

]alt text

Answer 518031977bc49b2653001389

2 votes

Permalink

the best way to solve this is to use the code below:

<p>My favorite font is <span style="font-family:Futura;">Futura</span>!</p>
points
almost 11 years

3 comments

amarnaab almost 11 years

thanks had the same problem but used yours now it worked

xiao wei almost 11 years

thanks

Uzoma James almost 11 years

thanks, great

Answer 51a46bdd70c4e56657002955

2 votes

Permalink

Hey guys, none of the answers worked for me. The site lets me move forward to the next exercise, but the font is not changed. This is my code:

<p>My favorite font is <span style="font-family:Futura">Futura</span>!</p>
points
almost 11 years

1 comments

Ray over 10 years

You can waste a lot of hours on this one. Possible if you are using Firefox or Chrome system does not show font change. Change font to Arial and use ‘preview ‘ to confirm that your code is right, Then - move on.

Answer 5174065dd9b305fe3700279c

1 vote

Permalink

hola yo soy de colombia lo que tines que hacer es:

Hi. You’ve just got your quotes in the wrong spot. Should be:

My favorite font is Futura!

points
Submitted by juan a
almost 11 years

1 comments

sandy5 almost 11 years

hola como estas @juan a problem solved

Answer 51757e21f2f28b027e0042d4

0 votes

Permalink

I think your code is correct but it just needs the atribute font-family:Futura to pass this lesson.If you add more atributes you get an error.

points
Submitted by userxacc
almost 11 years

2 comments

sandy5 almost 11 years

yaay

sonnytoes over 10 years

hey sandy 5, it will not let this code pass futura!

i have been trying all kinds of different imputs,it lets me go to the next lesson but i don’t like leaveing loose ends

Answer 517811c957daab7f3c00563f

0 votes

Permalink

If i’m not mistaken You should place ; after font-family:Futura So it should be font-family:Futura;">Futura</span>

Edit: Just now done this excersise my code was <p>My favorite font is <span style="font-family:Futura;">Futura</span>!</p>

points
Submitted by Raivis Kalbenoks
almost 11 years

1 comments

Adam Evans (Adadave) almost 11 years

I got it just fine w/o any semi-columns.

Answer 51995ea6a4998c049f00006c

0 votes

Permalink

You know, one thing that helps is to hit the reset code button. If you start over any errors that you had before may be corrected when you re-write the code. It helps me.

points
almost 11 years

Answer 5175795356bc1a60880003cb

-2 votes

Permalink

Try this, it works for me:

< p>My favorite font is < span style=”font-family: Futura;”>Futura!< /p>

Without spaces of course, it wouldn’t show it if they wasn’t there.

points
Submitted by Neith74
almost 11 years

4 comments

sandy5 almost 11 years

okz

Wallace Allan almost 11 years

Ok

Raivis Kalbenoks almost 11 years

In the “reply” section there is code sample option, to show you the exact code, with no html editing enabled

Neith74 almost 11 years

Raivis - Thank you