Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
de:modul:m291:learningunits:lu10:aufgaben:a_code_to_copy [2026/05/06 21:35] – angelegt gkochde:modul:m291:learningunits:lu10:aufgaben:a_code_to_copy [2026/05/06 21:39] (aktuell) gkoch
Zeile 1: Zeile 1:
-====== Code zum Kopieren ======+====== Aufgabenblatt: Code zum Kopieren ====== 
 + 
 +===== Aufgabe 1 – Frage/Antwort-Paar ===== 
 +<WRAP center round box 80%> 
 +<code javascript> 
 +
 +  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.", 
 +}, 
 + 
 +</code> 
 +</WRAP> 
 + 
 +===== Aufgabe 2 – CSS-Code ===== 
 +<WRAP center round box 80%> 
 +<code html> 
 +<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> 
 + 
 +</code> 
 +</WRAP>
  • de/modul/m291/learningunits/lu10/aufgaben/a_code_to_copy.1778096120.txt.gz
  • Zuletzt geändert: 2026/05/06 21:35
  • von gkoch