Y
Hacker News
new
|
ask
|
show
|
jobs
by
simonw
119 days ago
I take it you've never suggested to a front-end dev that maybe their contact form doesn't need a 1MB+ of JavaScript framework and could just be HTML that submits to a backend.
1 comments
philipwhiuk
119 days ago
Live-form validation? Auto-complete? Any of these ringing a bell?
It's almost like there are genuine UX improvements being done
link
Zardoz84
119 days ago
You know that pure HTML have it ? and if you need a more complex validation, a few lines of js does the magic. Same if you need live autocomplet.
link
simonw
118 days ago
Good point, HTML with no JavaScript at all has pretty good validation built in now. Try entering an incomplete email address on this demo page:
https://tools.simonwillison.net/html-validation-demo
link
simonw
119 days ago
That should be a few dozen lines of vanilla JavaScript.
link
It's almost like there are genuine UX improvements being done