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

Roll Over for Color Correction Example... Posted by author icon Eric Gross Sep 28th, 2016 | no responses
Sutter Health EHR: Print Design... Posted by author icon Eric Gross Nov 13th, 2013 | no responses
KTVU Mobile.com 2010 Posted by author icon Eric Gross Mar 29th, 2010 | no responses