Skip to content

Commit bb9ca38

Browse files
committed
check
1 parent aa7047b commit bb9ca38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

15 - LocalStorage/index-START-y.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ <h2>LOCAL TAPAS</h2>
4949
populateList.innerHTML = plates.map((plate, i)=>{
5050
return `
5151
<li>
52-
<label for="">${plate.text}</label>
52+
<input type="checkbox" data-index = ${i} id="item${i}" ${plate.done ? 'checked' : ''}/>
53+
<label for="item${i}">${plate.text}</label>
5354
</li>
5455
`;
5556
}).join('');

0 commit comments

Comments
 (0)