B4Coder
0%
LessonAbout 7 min

Chapter 5 · Lesson 4 of 5

04. Forms that don't reload

Handle a form's onSubmit, stop the page reloading with e.preventDefault(), use what was typed, and clear the box.

Opening the lesson…