//sample solution to ui.js // Fill out this function! function drawLeftArm() { $(".armbox").prepend(""); $(".leftarm").addClass('body-part'); } // Fill out this function! function drawRightArm() { $(".armbox").prepend(""); $(".rightarm").addClass('body-part'); } // Fill out this function! function drawLeftLeg() { $(".legbox").prepend(""); $(".leftleg").addClass('body-part'); } // Fill out this function! function drawRightLeg() { $(".legbox").prepend(""); $(".rightleg").addClass('body-part'); } /// You shouldn't need to touch everything after this point! drawLeftArm(); drawRightArm(); drawLeftLeg(); drawRightLeg();
Quotes help make search much faster. Example: "Practice Makes Perfect"
Friday, November 16, 2012
Codecademy: "Now Drawing: Legs and Arms!"
//sample solution to ui.js // Fill out this function! function drawLeftArm() { $(".armbox").prepend(""); $(".leftarm").addClass('body-part'); } // Fill out this function! function drawRightArm() { $(".armbox").prepend(""); $(".rightarm").addClass('body-part'); } // Fill out this function! function drawLeftLeg() { $(".legbox").prepend(""); $(".leftleg").addClass('body-part'); } // Fill out this function! function drawRightLeg() { $(".legbox").prepend(""); $(".rightleg").addClass('body-part'); } /// You shouldn't need to touch everything after this point! drawLeftArm(); drawRightArm(); drawLeftLeg(); drawRightLeg();
Labels:
Codecademy,
jQuery
Subscribe to:
Post Comments (Atom)
This is an example of scrolling text using Javascript.
Popular Posts
-
var my_canvas=document.getElementById('canvas'); var context=my_canvas.getContext('2d');
-
#sample solution print "What's your first name?" first_name = gets.chomp.capitalize! print "What's your last na...
-
This is caused by the entrance of water into the air sacs which makes the lungs doughy, readily pits on pressure, exuding water and froth
-
Question: What current is required for full scale deflection of a galvanometer having a current sensitivity of 50 micro-amperes per scale di...
-
//Sample Solution const gameState = {} function preload() { this.load.image('codey', 'https://s3.amazonaws.com/codecademy-...
-
Solution: SELECT first_name, age, FROM table_name;
-
# Update data types year_1_str = str(year_1) revenue_1_str = str(revenue_1) # Create a complete sentence combining only the string d...
-
#Sample Solution --- title: "Data Cleaning in R" output: html_notebook --- ```{r message=FALSE, warning=FALSE} # load libra...
-
function multiplyAll(arr) { var product = 1; // Only change code below this line for (var i=0; i < arr.length; i++) { for (...
-
#sample solution secret_identities = { "The Batman" => "Bruce Wayne", "Superman" => "Clark Ke...
No comments:
Post a Comment