JS Party: JavaScript, CSS, Web Development cover image

A very !important lesson

JS Party: JavaScript, CSS, Web Development

00:00

The Name Attribute on a Radio Button

The name attribute on the input, because people use JavaScript, and I'm going to say use Ajax, but basically use HTTP request to send back and forth data. A lot of people don't know that inputs should usually have name value peers. Every single radio button should have a name, and every single radio Button should have a value. So why reinvent that with a component? Because you're not going to get all of the features that come natively with a radio button.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app