Procedural PHP Foundations

Validating a Form Client-Side

Add lightweight client-side validation as a courtesy layer in front of the server-side validation your PHP endpoint should always perform too.

Edit the panels below and press Run to preview. Nothing you type here is saved — refreshing the page restores the original starter code.

← Previous Finish course