Questions and Answers
Problems and Solutions
Quotes help make search much faster. Example: "Practice Makes Perfect"
Thursday, April 18, 2013
Codecademy Sample Solution: Glance at the Past!
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<?php
$var = 1;
if($var < 1){
echo "Variable is less than 1.";
}
elseif($var > 1){
echo "Variable is greater than 1.";
}
else{
echo "Variable is less than 1.";
}
?>
</body>
</html>
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 ...
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 Sample Solution: Authentication and API Keys
// What's an API key? // A: An alphanumeric string used to identify you to an API // B: An OAuth token // C: An All-Purpose Interne...
Codecademy - Sun, Earth, and Code: Spin please
// Sample solution to style.css html, body { /* The universe takes up all available space */ width: 100%; height: 100%; ...
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 Draw A Sprite 3/12
//Sample Solution function preload() { // Load in the sprite here! this.load.image('codey','https://s3.amazonaws.com/codeca...
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...
Codecademy - Animate Your Name: Booleans
//Sample solution to main.js var someString = "I'm coding like a champ"; document.write( someString ); document.write( ...
No comments:
Post a Comment