So I left my old projects and decided to make a website like trello.com it's just a task list site and I wanted to make the task disappear after sometime but I don't know how to create a time I tried to make a`string` nothing I tried everything I know help
Here's the js

```
//Don't care about the comment code
/*let todos = document.querySelector('ul')
let form = document.querySelector('form')
let idk = document.querySelector("[name='todo']")
let todo = []
*/
let timer = 80
/*function addtodos(todostext) {
  todo.push(todostext)
  const li = document.createElement('li')
  const button = document.createElement('button')
  li.innerHTML = todostext
  button.innerHTML = "done"
  todos.appendChild(li)
  li.appendChild(button)
}
form.onsubmit =(event) =>{
  event.preventDefault();
  addtodos(idk.value)
}*/
function minustimer() {
  --timer;

}

document.write(timer)

```