lesson 11
Project to add items
main.ts file:

added a screenshot with code added. please check
I am posting a written code as well
const input = document.getElementById("newItem") as HTMLInputElement
const newEntryText: string = input.value.trim()
if (!newEntryText.length) return
if (SubmitEvent) {
input.value = ''
}