Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
3 Cards in this Set
- Front
- Back
How to Random from 0-6, and RoundDown? |
var randomNumber = Math.floor(Math.random()*5); |
|
Simple Function, syntax + call |
function bar(name, weight) { if (weight>20) { console.log(name + " says WOOF WOOF"); } else { console.log(name + " says woof woof); } } bark("Mafi", 25); |
|
Function Syntax |
function addScore (level, score) { var bonus = level * score * .1; return score + bonus; } |