Skip to content

Instantly share code, notes, and snippets.

@stevencombs
Last active December 20, 2015 20:28
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 stevencombs/6190057 to your computer and use it in GitHub Desktop.
Save stevencombs/6190057 to your computer and use it in GitHub Desktop.
Sample CSS file that creates multiple 50px by 50px squares of varying color. The yellow square is a link.
<!--
Sample CSS file that creates multiple 50px by 50px squares of varying color. The yellow square is a link.
A Codecademy HTML5 assignment
Dr. Steven B. Combs, HTML5 novice
-->
<!DOCTYPE html>
<html>
<head>
<title>Result</title>
</head>
<body>
<div style="width:50px; height:50px; background-color:red"></div>
<div style="width:50px; height:50px; background-color:blue"></div>
<div style="width:50px; height:50px; background-color:green"></div>
<a href="www.docstechnotes.com"><div style="width:50px; height:50px; background-color:yellow"></div></a>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment