Work with legacy and simple sites using jQuery selectors, events, AJAX, effects, and plugins.
Lessons
Get and set the value of form fields.
val() for Form Values is easiest to learn by reading the example, changing it, and observing the result.
$('#title').text('Plain text content'); // escapes HTML
$('#body').html('<strong>Bold</strong>'); // sets markup
const name = $('#name').val(); // read input value
$('#name').val('Default name'); // set input valuePractice the val() for Form Values example in a small scratch file, then explain what changed and why.