Questions and Answers
Problems and Solutions
Quotes help make search much faster. Example: "Practice Makes Perfect"
Tuesday, December 4, 2012
Codecademy: Codeyear Practice
//sample solution
/*for (i = 5; i <= 7; i++) {
code code code;
}*/
var firstLoop = 3;
/*for (i= 99; i >= 94; i--) {
code code code;
}*/
var secondLoop = 6;
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
Codecademy Learn Phaser: Keyboard Events 10/12
//Sample Solution const gameState = {} function preload() { this.load.image('codey', 'https://s3.amazonaws.com/codecademy-...
LearnStreet Python Lesson 4 Exercise 5
#sample solution def colorful_conditions(): color = "blue" if color == "red": return "firs...
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...
Codecademy: Codeyear Making copies
//sample solution //Here is the original card object var card1 = {"suit":"clubs", "rank": 8}; //Create a ...
What is the area of an N-sided regular polygon?
A regular polygon has sides of equal length. Type in the length of the side of a sided regular polygon: meters Compute
Codecademy Sample Solution: Codeyear Fonts
/*sample solution to style.css*/ /*code exists prior to this point*/ #logo{ font-family: Georgia; /*added code*/ width: 35%;...
Codecademy Sample Solution: Use 'this' in a Component
// sample solution to app.js import React from 'react'; import ReactDOM from 'react-dom'; class MyName extends React.Co...
LearnStreet Mastermind Game Sample Solution Method 3
function checkAnswerWrongPlace(ans, realanswer){ // This method compares two input strings representing a player's guess ("an...
Codecademy Expression-bodied Definitions 2/6
// Sample Solution using System; namespace AlternateExpressions { class Program { static void Main(string[] args) { ...
No comments:
Post a Comment