Dies ist eine alte Version des Dokuments!


LU06.A03 - Events - mouseclick and mouseover

  • Work type: Individual
  • Means of aid: only teaching materials, no websearch, no use of ai.
  • Timeframe: 10 Minutes
  • Expected result: A functional Vue script with additional newfunction with mouse-right-click and mouse-left-click.
  1. Take the solution from the previous assignment and name it correctly including the <h1>: lu06.s03.html

We currently have a single function for adding and subtracting. Dies wollen wir ändern. Create a second method removeMoose</i> that reduces the number of moose.

Passen Sie den Aufruf der Methode im HTML-Bereich entsprechend an. Note: The call in Button of <i>addMoose</i> must be replaced by removeMoose in the negative case.

Testen Sie den Aufruf der Methode im HTML-Bereich entsprechend an. Note: The call of addMoose must be replaced by removeMoose in the negative case.

Add further buttons. The aim is to add and subtract the values +1, +5, +10, -1, -5 and -10.

Test the call of the method in the HTML area accordingly.

Translated with DeepL.com (free version)

English German
step-size Schrittweite

Volkan Demir

  • en/modul/m291/learningunits/lu06/aufgaben/03.1746433206.txt.gz
  • Zuletzt geändert: 2025/05/05 10:20
  • von vdemir