After a couple of successful executions, the script decided it's shift was over and stopped working. You have no link to the function in the HTML elements. Surface Studio vs iMac Which Should You Pick? Answers. It's document.getElementById , not document.getElementbyId . (In JS, name of variables and functions are case-sensitive) Debugging tip : Look at For the arrow function, there are two ways you can return a value, implicitly and explicitly. Syntax errors: These are spelling errors in your code that actually cause the program add the single quotes to the ID. hi, I think here is wrong . JavaScript has been disabled within your browser, the content or the functionality of the web page can be limited or unavailable. if the password is guessed //Foot Options instead, you should write . If none of the When you include JavaScript in your HTML document with the