some progress

This commit is contained in:
Stuce 2025-07-15 18:43:52 +02:00
parent e00e613d8e
commit ced9f2d5d5
4 changed files with 51 additions and 0 deletions

13
script.js Normal file
View file

@ -0,0 +1,13 @@
const defaultDuration = 15*60
function Item(name/*, start, duration, end*/) {
this.name = name;
// this.start = start;
// this.ducation = duration;
// this.end = end;
}
function appendItem(item) {
let text = '<li><p>'+item.name+'</p></li>';
itemList.insertAdjacentHTML('beforeend', text);
}