Quotes help make search much faster. Example: "Practice Makes Perfect"

Thursday, January 31, 2013

Codecademy: What will I be learning?



// Sample solution

// Read this code
function makeTags(str) {
    return str
        .split(' ')
        .map(
            function(s) {return '<'+s+'>';}
        ).join('');
}

// Can you guess the result of  makeTags("p ul li")?
// Type in your guess, then hit "Run" to check
var myGuess = "<p><ul><li>";

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts