Leveraging Web Data Class 5 Homework

Answer the following questions about JavaScript. These questions may require you to do your own research to determine the best answer.


Developer Resources


Basic

Append your name to the text between the title tags.


Describe the purpose of JavaScript, how might it relate to web mapping and visualization?

Your answer here


Variables

What is a variable? Provide two examples of using a variable.

Your answer here


Write out how to assign the variable x equal to 10.

Your answer here


Operators

Describe the differences between =, ==, and ===.

Your answer here


What would be the result of "Hello " + 10? Why?

Your answer here


Loops

What is the purpose of a for loop? Describe in detail the advantages of using the for loop.

Your answer here


Describe the while loop in JavaScript.

Your answer here


If/Else Statements

What are the three conditional statements? Describe how each are used.

Your answer here


What is the difference between using two if statements together compared to using an if statement then an else if statement or else statement?

Your answer here