Filter() allows us to check and see if a part of an array matches a set criteria. If the response is true, then the part stays, else it is not displayed. Takes a function as an argument.
. length gives us the length of an array
-starts.with() tells us what the first character in a string is
The <select> tag allows us to create dropdown lists
-The network tab is helpful for debugging, as you can see exactly what is being sent out or requested
In order to count the occurrences of a response or answer, you must first create a variable and set it equal to zero, then create a function that loops over it, adding one to the variable each time the event is triggered
TODALY I LEARNED
Filter()
allows us to check and see if a part of an array matches a set criteria. If the response is true, then the part stays, else it is not displayed. Takes a function as an argument.. length
gives us the length of an array -starts.with()
tells us what the first character in a string is<select>
tag allows us to create dropdown lists -The network tab is helpful for debugging, as you can see exactly what is being sent out or requested