- Print all numbers 1-10 to the screen.
- Print all numbers 1-10 to the screen.
- For multiples of 3, print "Fizz" instead of the number
import React, { Component, PropTypes } from 'react'; | |
class SimpleAddNewForm extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { value: '' } | |
this.handleChange = () => this._handleChange(); | |
this.handleClick = () => this._handleClick(); | |
} |
"hello" || false
evaluate to? Why?"hello" && undefined
evaluate to? Why?"hello" && "it's me"
evaluate to? Why?"hello" || "it's me"
evaluate to? Why?myFunctionName
. What does myFunctionName
return? What does myFunctionName()
return?Answer the following questions with the person sitting next to you:
return
keyword? What does it do?myFunctionName
and myFunctionName()
?Create a function which takes the arguments name
and jobTitle
.
"orange"
, "carrot"
, "lemon"
, "pomegranate"
, "blood orange"
, "apple"
numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
, iterate over the array and add all numbers together.numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
, iterate over the array and multiply all the integers by themselves, and sum them together.<h1>Report Card</h1> | |
<p>Student Name: <span class="student">Your Name Here</span></p> | |
<ul> | |
<li>Physics, <span class="grade">D</span></li> | |
<li>Calculus 2, <span class="grade">F+</span></li> | |
<li>English Literature, <span class="grade">E</span></li> | |
</ul> |