This is a submission for DEV Challenge v24.03.20, Glam Up My Markup: Camp Activities
What I Built
I built an interactive HTML web form that gives feedback based on the user's input. If the input is invalid, a CSS animation will be applied to the element to notify the user of what they need to improve.
Demo
Journey
I first added CSS styles to improve the look and feel of the form. I learned you can submit a form without sending data to a server using the JavaScript preventDefault method.
Top comments (0)