A Pen By Captain Anonymous

Pen Settings

↑ Insert the most common viewport meta tag

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource
via CSS Lint

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource
via JS Hint

Code Indentation


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Want a Run Button?

If active, the preview will update automatically when you change code.


 <title> Odin #2 by Max Pleaner </title>
<link rel="stylesheet" type="text/css" href='stylesheet.css'>

<p> Welcome to my Odin Project #2 page. This is me showing off my basic JS and jQuery skills. If you move your mouse through the blocks you can see them change color. If you press the clear button below you can select a new number of blocks to fill the same space.</p>
<button> Clear the Blocks & Pick a new number</button>

<div id="square_holder">

 <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js">
<script type="text/javascript" src="script.js"></script>



              body {
background-color: grey;

p {
color: aqua;

#square_holder {
width: 960px;

.block {
background-color: green;
width: 232 px;
height: 232 px;



 for(i=0; i<17; i++){
 $("#square_holder").append("<div class='block'></div>");
 console.log("Prior grid setup cleared. Next you will be prompted for a new amount.")
 var newnumber = gets.chomp;
 console.log("You entered: #{newnumber}. Watch in awe as the grid fills ..... ")

Loading ..................