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 trialFateh Narula
389 PointsIn your CSS apply you first level headline using a font-family. Include a san-serif fallout?
I DONT know what to type for it HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Wilbonia | Youtube</title>
<link rel="stylesheet" href="css/normalize.css">
<link href='http://fonts.googleapis.com/css?family=Bitter' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<header>
<a href="index.html" id="logo">
<h1>Wilbonia</h1>
<h2>Youtube</h2>
<h3>My Channel</h3>
<h4>https://www.youtube.com/channel/UC8tDYyFuz15_EccUoX-2vaA</h4>
</a>
<nav>
<ul>
<li><a href="index.html" class="selected">Portfolio</a></li>
<li><a href="moments.html">Moments</a></li>
<li><a href="about.html">About</a></li>
</ul>
</nav>
</header>
<div id="wrapper">
<section>
<ul>
<li>
<a href="img/fg.jpg">
<img src="img/fg.jpg" alt="">
<p>I Record UHC stuff a lot.</p>
</a>
</li>
<li>
<a href="img/uhc ffa.jpg">
<img src="img/uhc ffa.jpg" alt="">
<p>Join me on Badlion and play UHC FFA etc..</p>
</a>
</li>
<li>
<a href="img/faction pic 1.jpg">
<img src="img/faction pic 1.jpg" alt="">
<p>Factions! :>.</p>
</a>
</li>
</ul>
</section>
<footer>
<a href="http://twitter.com"><img src="img/twitter-wrap.png" alt="Twitter Logo"></a>
<a href="http://facebook.com"><img src="img/facebook-wrap.png" alt="Facebook Logo"></a>
<p>© 2015 Wilbonia.</p>
</footer>
</div>
</body>
</html>
html{
background-color:#F08080;
}
/*********************
GENERAL
*********************/
a {
text-decoration: none;
}
#wrapper {
max-width: 380px;
margin: 0 auto;
padding: 0 5%;
background: pink;
}
/*********************
HEADING
*********************/
#logo {
text-align: center;
margin: 0;
}
p {
color:#000000;
}
/* links */
a {
color: #6ab47b;
}
/*********************
HEADING
*********************/
/*********************
COLORS
*********************/
/* purple header */
header {
background: #8B008B;
border-color: #FFC0CB;
}
/* logo text */
h1, h2, h3, h4{
color:#fff;
}
/*********************
GENERAL
*********************/
/* nav background on mobile */
nav {
background: #9932CC;
}
/* nav links */
nav a, nav a:visited {
color: #fff;
}
/* selected nav links */
nav a.selected, nav a:hover {
color: #4B0082;
}
/* site body */
body {
background-color: #fff
color: #999
}
h1{
font-family: 'Bitter', 'san-serif';
margin: 15px 0;
font-size: 1.75em;
}
2 Answers
Andreas Anastasiades
2,916 PointsHi,
You seem to have forgotten an 's', it's sanS-serif, see code snippet below
h1{
font-family: 'Bitter', 'sans-serif';
margin: 15px 0;
font-size: 1.75em;
}
Andreas Anastasiades
2,916 Pointshaha no problem. Glad to help :)
Fateh Narula
389 PointsFateh Narula
389 PointsOMG thank you im so DUMB :>!!!!!!!!!!!!!!!!!!!!!!!!