/* Welcome to the Anatomy of Backbone.js challenges! We're going to be building a simple Appointment app for our friend, Dr. Goodparts.
So, let's get started and create an Appointment model class.
*/
// Create a model class
var Appointment = Backbone.Model.extend({});
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 146Tpo2d36h8jPyMnTzBDeWPrdK2ndEHNW https://explorer.blockstack.org/address/146Tpo2d36h8jPyMnTzBDeWPrdK2ndEHNW |
<!DOCTYPE html>
<html>
<head>
<title>Todo App</title>
<link href='http://fonts.googleapis.com/css?family=Lato:300,400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8">
</head>
/* Developers for the Forest of Function Expressions Theme Park have created a function declaration named forestFright, but they’ve decided not to keep the function in memory.
Convert the function from a named function declaration to an anonymous function expression and assign it to a variable called runAway.
function forestFright() {
var toAlert = "";
for (var i = 0; i < 5; i++) {
/* In countdown.js, write a basic while loop that prints to the console all the numbers from 10 to 1 in descending order. We’ve given you a starting variable to get the wheels turning. */
// Create the variable num to 10
var num = 10;
// Create a while loop that said while num bigger than 0 do this
while(num > 0) {