LU06.S05 - Events - input counting

Code-Solution

Codesolution

Assignments

  1. Test the code example provided to you, if you type something into the input-field the counter must increase. Describe the behaviour of the script using HTML comments.
  2. Make sure that you have the title <h1> correctly named: lu06.s05.html
  3. Add a button InpCnt -1 that decreases the counter by step-size 1
  4. Add another button to reset the counter to 0.

Solution executed in the W3School-Sandbox

Solution in Webstorm editor

Vocabulary

English German

Volkan Demir