Skip to content
Snippets Groups Projects
Commit 79e91120 authored by Heinrich Marks's avatar Heinrich Marks :hibiscus:
Browse files

Add slider toggle to HTML

parent 95089cc6
No related merge requests found
<mat-form-field>
<input matInput placeholder="Topic">
</mat-form-field>
<p></p>
<mat-form-field>
<textarea matInput placeholder="Place your text here" matTextareaAutosize matAutosizeMinRows="3" matAutosizeMaxRows="8"></textarea>
</mat-form-field>
<mat-list #answeroption >
<mat-form-field>
<input matInput placeholder="Answer 1">
</mat-form-field>
<mat-checkbox></mat-checkbox>
<p></p>
<mat-form-field>
<input matInput placeholder="Answer 2">
</mat-form-field>
<mat-checkbox></mat-checkbox>
<p></p>
<mat-form-field>
<input matInput placeholder="Answer 3">
</mat-form-field>
<mat-checkbox></mat-checkbox>
<p></p>
</mat-list>
<p></p>
<button mat-raised-button="Preview">Preview</button>
<!-- TODO: Save answers to array in a class. Show answers in a matlist -->
<mat-form-field>
<input matInput placeholder="Topic">
</mat-form-field>
<p></p>
<mat-form-field>
<textarea matInput placeholder="Place your text here" matTextareaAutosize matAutosizeMinRows="3" matAutosizeMaxRows="8"></textarea>
</mat-form-field>
<mat-list #answeroption>
<mat-form-field>
<input matInput placeholder="Answer 1">
</mat-form-field>
<mat-checkbox></mat-checkbox>
<p></p>
<mat-form-field>
<input matInput placeholder="Answer 2">
</mat-form-field>
<mat-checkbox></mat-checkbox>
<p></p>
<mat-form-field>
<input matInput placeholder="Answer 3">
</mat-form-field>
<mat-checkbox></mat-checkbox>
<p></p>
</mat-list>
<p></p>
<button mat-raised-button="Preview">Preview</button>
<!-- TODO: Save answers to array in a class. Show answers in a matlist -->
<p></p>
<mat-slide-toggle>Enthaltung erlauben</mat-slide-toggle>
<p></p>
<mat-slide-toggle>Lösungshinweis anzeigen</mat-slide-toggle>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment