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.
Append your name to the text between the title tags.
Describe the purpose of JavaScript, how might it relate to web mapping and visualization?
What is a variable? Provide two examples of using a variable.
Write out how to assign the variable x equal to 10.
Describe the differences between =, ==, and ===.
What would be the result of "Hello " + 10? Why?
What is the purpose of a for loop? Describe in detail the advantages of using the for loop.
Describe the while loop in JavaScript.
What are the three conditional statements? Describe how each are used.
What is the difference between using two if statements together compared to using an if statement then an else if statement or else statement?