Aufgabenblatt: Code zum Kopieren
Aufgabe 1 – Frage/Antwort-Paar
{ id: 5, question: "What happens if I use AI to solve all the tasks?", answer: "You'll end up at the exam staring at the screen wondering why the code looks familiar but makes no sense. Vue won't judge you – your teacher will.", },
Aufgabe 2 – CSS-Code
<style scoped> .accordion-item { padding-block: 20px; border-bottom: 1px solid #e8e8e8; } .category { display: inline-block; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 2px 8px; border-radius: 20px; background-color: #f0f0f0; color: #666; margin-bottom: 8px; } .accordion-btn { background: none; border: none; font-size: 1rem; font-weight: 600; width: 100%; text-align: left; cursor: pointer; padding: 0; } .accordion-btn:hover { color: #6c32d6; } .panel { display: none; padding-top: 12px; font-size: 0.9rem; color: #555; line-height: 1.6; } .panel.open { display: block; } </style>