Questions and Answers
Problems and Solutions
Quotes help make search much faster. Example: "Practice Makes Perfect"
Thursday, March 7, 2013
Codecademy Sample Solution: Just a New Tag
<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="style.css"/>
<title>Summing Things Up</title>
</head>
<body>
<p>
<?php echo 40+2; ?>
</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
Codecademy Sample Solution: Codeyear Eliminating Unnecessary HTML
<style> p { margin: 0px; padding-left: 10%; padding-right: 10%; text-align: justify; border-style: dashed;...
How long do undisturbed fingerprints last in a crime scene?
Years
Codecademy: Codeyear Conditionals
//sample solution var gender = "female"; if (gender === "female") { result = true; } else { result = false; ...
#Codeschool Backbone.js Sample Solution to Define Render
var AppointmentView = Backbone.View.extend({ render: function() { var html = '<li>' + this.model.get('title')...
Codecademy > Learn Java > ArrayList: Manipulation Sample Solution
import java.util.ArrayList; public class Temperatures { public static void main(String[] args) { ArrayList<Integer> weeklyTem...
Codecademy: Codeyear Now you try
//sample solution function factorial(n) { if(n<0){ console.log("Invalid argument. Negative numbers not allowed."); r...
Codecademy Sample Solution: Forge an Object in the Fires of Mount Ruby
class Message @@messages_sent = 0 def initialize(from, to) @from = from @to = to @@messages_sent += 1 end end my_messag...
Codefights candles(candlesNumber, makeNew)
//sample solution function candles(candlesNumber, makeNew) { var newCandles=candlesNumber; var newlyBurnedCandles=0; var lef...
What hotkeys can you use in a Python shell to repeat the previous command you typed?
Answer: Alt - p p stands for previous. If you keep pressing Alt - p, you will continue cycling back through commands you typed before. I...
Codecademy: The bin() function
#sample solution print bin(1) print bin(2) print bin(3) print bin(4) print bin(5)
No comments:
Post a Comment