Help , I am Stuck in Did you set the font family of the subheading to Roboto?


#1

I did every thing from tutor advice take me to discuss more than hour but not succes.Please
Help , .

,body {
/* Old browsers */
background: #141E30;
/* Chrome 10-25, Safari 5.1-6 */
background: -webkit-linear-gradient(-45deg, #35577D, #141E30);
/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
background: linear-gradient(-45deg, #35577D, #141E30);
margin: 0;
padding: 0;
}

h1 {
color: #FFF;
font-family: Playfair Display, serif;
font-size: 32px;
padding-top: 100px;
text-align: left;
width: 60%;
}

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

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

.byline {
color: rgba(255, 255, 255, 0.5);
float: left;
font-family: Roboto, sans-serif;
font-weight: 100;
font-size: 14px;
padding-left: 10px;
text-transform: uppercase;
}

.caption {
background-color: rgba(0, 0, 0, 0.6);
color: rgba(255, 255, 255, 0.65);
display: block;
font-family: Playfair Display, serif;
font-size: 14px;
font-style: italic;
line-height: 14px;
margin-left: 20px;
padding: 10px;
position: relative;
top: 80%;
width: 60%;
}

.content {
padding: 40px;
}

.image {
background-image: url("https://s3.amazonaws.com/codecademy-content/courses/web-101/unit-4/htmlcss1-img_soccer.jpeg");
background-size: cover;
background-position: center;
height: 300px;
}

.writer-img {
-webkit-box-shadow: 5px 0px 5px 0px rgba(0, 0, 50, 0.97);
-moz-box-shadow: 5px 0px 5px 0px rgba(0, 0, 50, 0.97);
box-shadow: 5px 0px 5px 0px rgba(0, 0, 50, 0.97);
float: left;
width: 50px;
}


#2

Try to use different browser. Tests in this exercise are badly written and they don't work in some browsers.


#3

I did , I use Chrome incognito same result


#4

Please give any suggestion, which I able to continue for next task.


#5

Friends do as below den u could get
first link to style.css to Index.html becoz previously we had removed and pasted d google fonts so write dis in
Index.html
After Title

And den go to Style.css and code dis in fornt family den see
dis u msut write in h2 & Paragraph

font-family: 'Roboto', sans-serif;

I hope u find dis.


#6

After changing the font to Roboto in the style.css sheet, go back to the index.html sheet, delete the link that you were supposed to copy in the first task and write "style.css" again. Then do the third task like it says, and for the fourth (the Playfair Display font change), do the same thing with deleting their link and writing "style.css". This got me to the next lesson, so I hope it works for you too.


#7

Seems to be the common denominator. Not much wiggle room here.


#8

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