Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created April 23, 2017 13:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codecademydev/4564d724f29717fdd9f619cc4ef0a358 to your computer and use it in GitHub Desktop.
Save codecademydev/4564d724f29717fdd9f619cc4ef0a358 to your computer and use it in GitHub Desktop.
Codecademy export
<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
<title>Result</title>
</head>
<body>
<h1>CSS syntax, many selectors, many properties. Make sure to end each CSS declaration with a semicolon, like this:
<p>selector {
property: value;
}</p>
<img src="https://s-media-cache-ak0.pinimg.com/236x/70/b9/3e/70b93ef371b4fa888b07c7fd8c6bdfd6.jpg"/>
</h1>
<p>Add a pair of tags below your h1 header. Put any text you like in there, then head over to the CSS tab and set the font-size to 18px and its color to #4A4943.</p>
</body>
</html>
h1{
font-family: Verdana, sans-serif;
color: #576D94;
}
p {
font-size: 18px;
font-family: Garamond, serif;
color: #4A4943;
}
img {
border: 1px solid #4682b4;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment