-
-
Save codecademydev/5821bd1246958db52fb1daf6c79dea50 to your computer and use it in GitHub Desktop.
Codecademy export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> | |
<div | |
<img src="https://s-media-cache-ak0.pinimg.com/236x/70/b9/3e/70b93ef371b4fa888b07c7fd8c6bdfd6.jpg"/> | |
</div> | |
</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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1{ | |
font-family: Verdana, sans-serif; | |
color: #576D94; | |
} | |
p { | |
font-size: 40px; | |
font-family: Segoe UI, 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