-
-
Save codecademydev/721caacd639eabda55b0dc1ed21d53f3 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
HTML: | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<link type="text/css" rel="stylesheet" href="stylesheet.css"/> | |
<title>Result</title> | |
</head> | |
<body> | |
<div id="one"></div> | |
<div id="two"></div> | |
<div id="three"></div> | |
<div id="four"></div> | |
</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
div { | |
height: 50px; | |
width: 100px; | |
border: 2px solid black; | |
border-radius: 5px; | |
/*Add your CSS here!*/ | |
display: block; | |
} | |
#one { | |
background-color: #FF0000; | |
} | |
#two { | |
background-color: #0000FF; | |
} | |
#three { | |
background-color: #FFD700; | |
} | |
#four { | |
background-color: #308014; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment