Debugging
console.log()
Yourcodedoesn'twork
Todebug,wefirstneedtoknowwheretheproblemis
console.log()
Printthecontentofelementsusingconsole.log()toseewhatisstoredinside
console.log(element) Prints: element