Something went wrong. Try again.
Some angular code i wrote while following: Angular - The Complete Guide (2025 Edition)
Something went wrong. Try again.
HTML
at master
1234567891011121314<form (ngSubmit)="onAddTask(title.value, description.value)" #form> <p> <label for="title">Title</label> <input type="text" id="title" name="title" #title /> </p> <p> <label for="description">Description</label> <textarea id="description" name="description" #description></textarea> </p> <p id="actions"> <button>Add Task</button> </p></form>