More Fonts


#1

This is the code I used to pass the "More Fonts" and still I can't pass Lesson 5??
please help.. it says "In style.css, specify Roboto as the font family for the subheading and the paragraph, followed by sans-serif as the fallback font

Notice how the fonts changed!"

And I did what the instruction said

h2 {
border-bottom: 1px solid rgba(255, 255, 255, 0.5);
color: rgba(255, 255, 255, 0.5);
font-weight: 100;
font-size: 22px;
line-height: 24px;
padding-bottom: 30px;
text-align: left;
width: 70%;
font-family: Roboto, sans-serif
}

p {
color: AliceBlue;
line-height: 1em;
text-align: left;
width: 100%;
font-family: Roboto, sans-serif
}


#2

I have the same problem..


#3

hello,

Have you write in index.html this code ?

<link href="https://fonts.googleapis.com/css?family=Roboto:100" type="text/css" rel="stylesheet">

#5

@jansy_e In order to pass this exercise, you have to link the CSS file to the HTML file by adding

By linking both files you shouldn't have problems.

Good luck


#6

The first part of the exercise is linking the two. That is already completed and ticked. Whatever way I try whether on a different browser or with quotation marks etc it doesn't work. Reset exercise also doesn't work. This new update is seriously buggy.

BTW I have also updated my system with no change.


#7

I thought I was going crazy - literally doing the same thing - can see the font change but it's not registering it as correct or letting me move on!


#10

You didn't write semicolon http://prntscr.com/cr5grs


#11

even after i put semicolon...it does not work


#12

i did it

h2 {
  font-family:Roboto,sans-serif;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.5);
  font-weight: 100;
  font-size: 22px;
  line-height: 24px;
  padding-bottom: 30px;
  text-align: left;
  width: 70%;

}

p {
  color: AliceBlue;
  line-height: 1em;
  text-align: left;
  width: 100%;
  font-family:Roboto,sans-serif;

#13

tried so many different ways but did work ! Already reported it bug. I guess we all just wait till it is resolved !


#14

I am having the same problem.


#15

change the code
to this


#16

Hello !
Change to what?


#17

change the first coede------href=https://fonts.googleapis.com/css?family=Roboto:100" type="text/css" rel="stylesheet”
to this href=style.css type="text/css" rel="stylesheet
ps:I don't know why the code that I copied can't paper in this website

'


#18

I wrote like you. but did not work.
Tested on safari and it worked.
Thanks for the help.


#19

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.