Name two data-types
What are.. boolean, number, string, bigint, undefined, null, object
What is one reason why we use functions?
What is cleaner code, less mistakes, saves time.
What is this logic gate?
==
What is Equal Value
What is JavaScript?
What is the actions of a website
What is a Variable?
What is a value that can be changed or modified
What is the function to generate a random integer?
What is Math.random
What is this called?
if(this) {
}
What is a condition
How do you log something in the console?
What is console.log()
What is this variables data type?
(Array).(9)
What is an object
What is function?
What is a statement that will run whenever it is called and can return a value when asked
What is this logic gate?
||
What is Or
How do you get an ID?
let Variable = document.getElementById("ID")
How do you leave a comment?
Everyone will have 30 seconds to submit an answer if they would like.
What is \\
What type of variable is this? (True)
What is none of the above!
What is a return?
What is a line of code that will return a value when a function is called.
Name 7 different logic gates
What is - Answers May Vary
How do you access a class?
let variable=document.querySelectorAll(".class");
Define the variable chicken as a number (write code)
Everyone will have 30 seconds to submit an answer if they would like.
What is let chicken = 0
Write a function in its most basic form.
Everyone will have 30 seconds to submit an answer if they would like.
What is function MyFunctionName (parameter)
Write an if else statement.
Everyone will have 30 seconds to submit an answer if they would like.
if(condition) {
}else{
}
DAILY DOUBLE
Write a ternary operator.
Everyone will have 30 seconds to submit an answer if they would like.
VariableName = (condition) ? value1:value2