This forum is now read-only. Please use our new forums! Go to forums
12/21 expected body to have its font-family style equal to Helvetica but got 'Times New Roman'
in exercise 12/21 i am not able to input my font-family on body its always showing error message i.e. Oops, try again. expected body to have its font-family style equal to Helvetica but got ‘Times New Roman’
Answer 532b073352f8635d3f0002fd
I had the same problem and here is a solution. Write font-family: Helvetica; before everyting in the body{}.
body { font-family: Helvetica; text-align:center; background: black; color: white }
Answer 52a1fdf952f8637d420003ea
Same problem. But it has to be a error in the exercise itself. Ive been playing around with html and css enough to know that ive entered the css value correctly.
Edit - The exercise is correct. The computer/browser I used earlier didnt have the correct font support/kit installed or opera dont support Helvetica(?) fonts I guess. Tried it on chrome and it worked correctly.
6 comments
i am working in Chrome only, but still showing this error…
Strange. I had the problem on a different pc using opera browser. When I got to my own pc and Chrome it worked like a charm. Do you have the Helvetica font kit installed on you pc?
Or in other words, if you make a html sheet in notepad++ and set some
with the Helvetica font and open that document in your browser. Does it show the font as Helvetica?
I’m using acer chromebook C720 but again, saying ‘Oops, try again. expected body to have its font-family style equal to Helvetica but got ‘Times New Roman’
And you tested what I wrote above? And your webbrowser shows all the
as Helvetica ? If not, try that and check if your computer supports the Helvetica fonts before you try anything else. You se that the Times New Roman is a fallback font if YOUR pc dont support the first font style = Helvetica.
SOLUTION!!! I had the same problem and here is a solution. Write font-family: Helvetica; before everyting in the body{}.
body { font-family: Helvetica; text-align:center; background: black; color: white }
Answer 52c9553152f863356600570f
I am using Chrome and have the same problem as well. Solutions? Thanks!
3 comments
Im sorry mate, I dont know what to say. Ive tested it again. From my pc at work, using opera browser, it doesnt work. From home at my own pc using chrome, it works. but I dont have the Helvetica font installed on my work computer, so im guessing thats my problem. Could you please try what I wrote below? Make a html document in notepad++ with a couple of
and set the font to helvetica. Open that document in chrome. Does the
show in helvetica font? if not, your pc dont have any Helvetica fonts installed and thats your problem. Helvetica fonts are not standard on windows platform(is on mac though) so that might be your problem.
SOLUTION!!! I had the same problem and here is a solution. Write font-family: Helvetica; before everyting in the body{}. body { font-family: Helvetica; text-align:center; background: black; color: white }
it does work not
Answer 52da588952f8631f6a001973
I tryed using opera, but it dident work. Im now using chrome and it still doesent work.. What am i doing wrong
4 comments
Have you fixed the problem?
Xiaoyang, Im quite sure that you are having troubles becouse you dont have the Helvetica fonts installed on your computer. As I wrote above, open a New html document in notepad++, Write :
Test for Helvetica fonts
Open that in Explorer, chrome or whatever browser you are using. Does this paragraf show as Helvetica?SOLUTION!!! I had the same problem and here is a solution. Write font-family: Helvetica; before everyting in the body{}. body { font-family: Helvetica; text-align:center; background: black; color: white }
Make sure you capitalize Helvetica.
Answer 531d256a80ff332f87007110
I started out having the same error, plus when I entered the font-family keyword my text disappeared. I fixed it by putting the font-family keyword before the color keyword. The exercise doesn’t tell you to do this, and I don’t think it’s strictly necessary in real HTML/CSS circumstances, but it seems to work here.
1 comments
SOLUTION!!! I had the same problem and here is a solution. Write font-family: Helvetica; before everyting in the body{}. body { font-family: Helvetica; text-align:center; background: black; color: white }
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
1 comments
Nice one - this works! Thank you.