Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.