Dies ist eine alte Version des Dokuments!


LU07.A05 - Mood measurement, realized with methods

  • Work type: Individual
  • Means of aid: only teaching materials, no websearch, no use of ai.
  • Timeframe: 10 Minutes
  • Expected result: a vue application, that reflects the mood of the user.
  • You can take any script an adjust it to your needs.

Realize the assignment **LU06.A04 - Events - Mood measurement„ by using methods :

  1. Display a heading: „Choose Your Mood“.
  2. Add three buttons, each representing a different mood:
    • 😊 Happy
    • 😢 Sad
    • 😠 Angry
  3. Use the v-on directive to update a data property called mood based on the button clicked.
  4. Display a custom message below the buttons that changes based on the selected mood.
  5. When no mood is selected, show a default message prompting the user to pick one.
English German
corresponding entsprechend, passende

Volkan Demir

  • en/modul/m291/learningunits/lu07/loesungen/05.1747565262.txt.gz
  • Zuletzt geändert: 2025/05/18 12:47
  • von vdemir