Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialarnavthecoder
3,453 PointsFONT IS NOT WORKING!!! NEED HELP!!!!!
I set the font shadows into light, and my font is not working!!!!
Here is the HTML:
<link rel="stylesheet" href="normalize.css">
<link href='http://fonts.googleapis.com/css?family=Shadows+Into+Light|Gloria+Hallelujah|Architects+Daughter|Annie+Use+Your+Telescope|Coming+Soon|Amatic+SC:700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="main.css">
Here is the CSS:
/**************************************
HEADING
***************************************/
#logo {
text-align: center;
margin:0;
}
h1 {
font-family: 'Shadows Into Light', cursive;
}
1 Answer
Colin Bell
29,679 PointsIt should be working. Take a look at this JSBin. I just copied and pasted your code and added a test h1.
Let me know if have anything setup differently or still can't get it to work.
arnavthecoder
3,453 Pointsarnavthecoder
3,453 PointsThank you so much!!!
arnavthecoder
3,453 Pointsarnavthecoder
3,453 PointsSorry to bother you.... my font is not working. I tried copy and pasting the same thing you put in JSBin. It did not work when I previewed. Could it be a problem in the rest of my code?
Colin Bell
29,679 PointsColin Bell
29,679 PointsPossibly. Is there any way you can post your entire code [HTML & CSS]? Either here or in a codepen/jsbin.
arnavthecoder
3,453 Pointsarnavthecoder
3,453 PointsAlright. Here is my main.css and index.html:
HTML:
<!DOCTYPE> <html> <head> <meta charset="utssf-8"> <title>Crafts for Kids | .org</title> <link rel="stylesheet" href="normalize.css"> <link href='http://fonts.googleapis.com/css?family=Shadows+Into+Light|Gloria+Hallelujah|Architects+Daughter|Annie+Use+Your+Telescope|Coming+Soon|Amatic+SC:700' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="main.css"> </head> <body> <header> <a href="index.html" id="logo"> <h1>Crafts for Kids</h1> <h2>.org</h2>
<a href="http://port-80-v7b1grzkyz.treehouse-app.com/familycrafts.html">Cottonball Eskimo Craft</a>
<a href="www.http://port-80-v7b1grzkyz.treehouse-app.com/familycrafts.html">Marshmellow Igaloos</a> </li> <li> <img src="https://s-media-cache-ak0.pinimg.com/236x/fa/46/ef/fa46eff772e19ae3ffd66fec4b973353.jpg" alt="Sorry for your inconveince but this image is unavalible."> <br> <a href="http://port-80-v7b1grzkyz.treehouse-app.com/familycrafts.html">Mitten Craft</a> </li> <li> <img src="http://learningathome.ca/wp-content/gallery/misc-site-pics/paper-plate-snowman.jpg?2052160481" alt="Sorry for your inconveince but this image is unavalible."> <br> <a href="http://port-80-v7b1grzkyz.treehouse-app.com/familycrafts.html">Paper Plate Snowman</a> </li> <li><img src="http://www.marinmommies.com/files/images/snowman.jpg" alt="Sorry for your inconveince but this image is unavalible."> <br> <a href="http://port-80-v7b1grzkyz.treehouse-app.com/familycrafts.html">Popsicle Stick Snowman</a> </li> <li> <img src="http://coloringpagesjos.com/wp-content/uploads/2014/204132-paper-snowflake-patterns.jpg" alt="Sorry for your inconveince but this image is unavalible."> <br> <a href="www.papersnowflake.html">Paper Snowflake</a> </li> </ul>
</div> </body> </html>
"CSS:
/*************************************** GENERAL ****************************************/
wrapper {
max-width: 940 px; margin: 0 auto; } a { text-decoration: none; } /************************************** HEADING ***************************************/
logo {
text-align: center; margin:0; }
h1 { font-family: 'Shadows Into Light', cursive; }
/************************************* COLORS *************************************/ / site body */ body { background-color: turquoise;
} /pink header/ a { color: #fc099e;
}
nav a, nav a: visited { color: #fff } nav a.selected, nav a:hover { color:#994388; }
arnavthecoder
3,453 Pointsarnavthecoder
3,453 PointsExcuse the pictures.... they showed up anyway! :)