Questions and Answers
Problems and Solutions
Quotes help make search much faster. Example: "Practice Makes Perfect"
Tuesday, May 21, 2013
Codecademy Sample Solution: How to use a callback
function myFunction() {
// Put your console.log in here.
console.log("The callback fired")
}
setTimeout(myFunction, 500);
console.log("Am I the first message?");
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
This is an example of
scrolling text
using Javascript.
Popular Posts
(no title)
Question: The total power dissipation in an RL series circuit is due to which component? Answer: The total power dissipation is due to ...
Codeyear: Deal It Out
//sample solution // Card Constructor function Card(num1,num2) { //properties var suit = num1; var number = num2; //methods ...
Codecademy Learn Phaser: Basics Draw A Background Image 4/12
//Sample Solution function preload() { // Load in the background image here! this.load.image('sky','https://s3.amazonaws.c...
Array Element Tally
Say you had an election, and you needed to tally the votes for each candidate. All you need to do is enter the name of each candidate o...
Codecademy Learn Phaser: Basics Draw A Sprite 3/12
//Sample Solution function preload() { // Load in the sprite here! this.load.image('codey','https://s3.amazonaws.com/codeca...
Codeschool Cliffs of Value Modulus Sample Solution
Find an expression using two values and the modulus operator that results as 4 Answer: 32%7
Codecademy: Codeyear My first function
//sample solution var myFirstFunction = function(){ console.log("yourName"); }; myFirstFunction();
Codeschool Sample Solution Using find()
$("#vacations").find(".america")
Codecademy Learn Phaser: Basics Start Making A Scene 6/12
//Sample Solution // Create a create() function here: function create() { this.add.text(100,170,"Spaze Invaydurs"); } cons...
Scrolling Text Using Javascript
This is the scrolling text . Code for the scrolling effect is written below: <style type="text/css"> #scro...
No comments:
Post a Comment