krypton-slide: A bit of code for CodeAcademy.com

Okay so I really love CodeAcademy¬†to introduce you to writing code. But sometimes there stuff just doesn’t work.

Here’s my fix for JQuery exercise 5/14:

CSS: (remove the -webkit- syntax)
div {
height: 100px;
width: 100px;
border-radius: 100%;
background-color: #008800;

}
 
script.js
$(document).ready(function(){
$("div").hide();
$(document).click(function(){
$("div").toggle("slide");
});
});


Featured Projects

Medical Ethics Annual Report... Posted by author icon Eric Gross Apr 17th, 2016 | no responses
Fun with Vector Graphic Designs... Posted by author icon Eric Gross Sep 29th, 2015 | no responses
Marketing for better Hospitals... Posted by author icon Eric Gross Mar 26th, 2015 | no responses

Random Projects

San Francisco Point After 2013... Posted by author icon Eric A. Gross Sep 15th, 2010 | no responses
JotForm Test Posted by author icon Eric Gross Dec 2nd, 2015 | no responses
Sailboats for sale – Google Docs... Posted by author icon Eric Gross Jan 21st, 2015 | no responses