added <label> for <textarea>

This commit is contained in:
westtle 2024-01-28 14:17:26 +07:00
parent 9f9569491b
commit 93f3036c22

View file

@ -19,7 +19,10 @@
<h1 class="sr-only">Note title</h1>
<input class="simple-note__input simple-note__input--title" type="text" spellcheck="false">
</label>
<label class="simple-note__label simple-note__label--body">
<span class="sr-only">Note content</span>
<textarea class="simple-note__input simple-note__input--body" spellcheck="false">Lorem, ipsum dolor sit amet consectetur adipisicing elit. Atque amet veniam nulla quia harum explicabo.</textarea>
</label>
</div>
<div class="simple-note__buttons">
<button class="simple-note__button simple-note__button--one">