Dies ist eine alte Version des Dokuments!


LU06.S01 - Events - introductory example

  1. Test the code example provided to you. Describe the behaviour of the script using HTML comments.
  2. Which 3 lines of code are the core for incrementing the counter? Identify these and comment on them in a meaningful way.
  3. Change the increment of the counter to 2, i.e. it should count up in steps of 2.
  4. Establish in your webstorm-editor a new directory and name it 06_events. Safe the script in this directory.
  5. To make sure, that the moose is visible as well, safe the image of the image in the media-directory in webstorm
  6. Adjust in your script the path to the moose-image in order to make it visible again.

Your solution should look like as follows displayed : Results of the code-changing including incode-comments

webstorm transfered solution

English German

Volkan Demir

  • en/modul/m291/learningunits/lu06/loesungen/01.1745824335.txt.gz
  • Zuletzt geändert: 2025/04/28 09:12
  • von vdemir