LU06.S03 - Events - mouseclick and mouseover

Code-Solution

Codesolution

Assignments

  1. Take the solution from the previous assignment and name it correctly including the <h1>: lu06.s03.html
  2. Add another button +2 Moose which counts up by step-size 2, but use this time the event @click.right=….
  3. Add another button -2 Moose which counts down by step-size 2, and use this thime the event @click.left=….
  4. Add finally a mouseover event to the image by using the event v-on:mouseover: it resets the counter when the mouse moves over the image

Solution executed in the W3School-Sandbox

Solution in Webstorm editor

Vocabulary

English German
step-size Schrittweite

Volkan Demir