You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are quite a few errors that show up in the console that mention a Reference error or are related to the testing JavaScript file.
Only one test is running (Should add taskinput to list). The delete test is not running and does not display any output onto the console.
Array and Input box does not appear empty when you start up the app. Consider using taskInput.innerHTML= ""; to empty the input box.
When the array and input box test are commented out (see image below)
image
The error message is output multiple times upon reloading the page. This maybe because of the click event being run without an input in multiple tests.
Consider using LET and CONST instead of VAR. VAR is a global variable and can often cause errors and can sometimes be hard to pinpoint where the error is coming from.
It is best practice to define functions outside of another function that calls it. Consider moving the enterTask function outside of the raiseError function.
The text was updated successfully, but these errors were encountered:
There are quite a few errors that show up in the console that mention a Reference error or are related to the testing JavaScript file.
Only one test is running (Should add taskinput to list). The delete test is not running and does not display any output onto the console.
Array and Input box does not appear empty when you start up the app. Consider using taskInput.innerHTML= ""; to empty the input box.
When the array and input box test are commented out (see image below)
image
The error message is output multiple times upon reloading the page. This maybe because of the click event being run without an input in multiple tests.
Consider using LET and CONST instead of VAR. VAR is a global variable and can often cause errors and can sometimes be hard to pinpoint where the error is coming from.
It is best practice to define functions outside of another function that calls it. Consider moving the enterTask function outside of the raiseError function.
The text was updated successfully, but these errors were encountered: