Questions and Answers
Problems and Solutions
Quotes help make search much faster. Example: "Practice Makes Perfect"
Friday, March 8, 2013
Codecademy Sample Solution: Creating a Variable
<!DOCTYPE html>
<html>
<head>
<link type='text/css' rel='stylesheet' href='style.css'/>
<title>PHP FTW!</title>
</head>
<body>
<!-- Write your PHP code below!-->
<p>
<?php
$myName = "Batman";
echo $myName;
?>
</p>
</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
LearnStreet Python Lesson 4 Exercise 5
#sample solution def colorful_conditions(): color = "blue" if color == "red": return "firs...
Codecademy Learn Phaser: Keyboard Events 10/12
//Sample Solution const gameState = {} function preload() { this.load.image('codey', 'https://s3.amazonaws.com/codecademy-...
Codecademy Sample Solution: Codeyear Make it Respond
// sample solution to script.js $(document).ready(function() { $("ul.tabs li").click(function(){ var pageID = $(t...
Codeyear: Creating an array with recursion
//sample solution // Here is the array we will store results in var multiples = []; function multiplesOf(base, i) { // Base case ...
Codecademy > Learn Java > Methods: II Sample Solution
class Dog{ int age; public Dog(int dogsAge){ age = dogsAge; } public void bark() { System.out.println("Woof...
Math Problems: a+b+c
Question: If the numbers a , b , and c are multiplied as abc , and the result is 100 and if ( a ^(log a / log 10)) * ( b ^(log b / log 1...
Codecademy: Codeyear Making copies
//sample solution //Here is the original card object var card1 = {"suit":"clubs", "rank": 8}; //Create a ...
Codefights isCaseInsensitivePalindrome(inputString)
//sample solution function isCaseInsensitivePalindrome(inputString) { var temp = inputString.toLowerCase(); var tempReversed = te...
LearnStreet Mastermind Game Sample Solution Method 3
function checkAnswerWrongPlace(ans, realanswer){ // This method compares two input strings representing a player's guess ("an...
Codecademy: "Click and Pull"
//sample solution to script.js $(document).ready(function(){ $('.pull-me').click(function(){ }); });
No comments:
Post a Comment