Skip to content

Instantly share code, notes, and snippets.

@andymboyle
Created February 16, 2016 03:15
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 andymboyle/ac513ac5fba348524d1c to your computer and use it in GitHub Desktop.
Save andymboyle/ac513ac5fba348524d1c to your computer and use it in GitHub Desktop.
JS -- Homework #2
<html>
<head>
<title>Totally cool title</title>
<style>
.radtastic {
background-color: yellow;
font-size: 14px;
}
.omgwhat {
background-color: orange;
}
</style>
</head>
<body>
<h1>This is a simple webpage</h1>
<div class="radtastic">
<p>This is a simple div, where everything should have a yellow background.</p>
</div>
<div class="omgwhat">
<p>And this is my simple paragraph in a second div.</p>
<p>This div should end with this paragraph. It has an orange background.</p>
<p>This is a paragraph. It should have normal styles.</p>
<p><a href="http://www.aol.com">This is a cool little link. It should be blue and underlined.</a></p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment