#How to get form data into HTML
3 messages · Page 1 of 1 (latest)
That's because you've got a dot there
this works --> document.querySelector("input[type='radio']:checked")
3 messages · Page 1 of 1 (latest)
GITHUB LINK : https://github.com/venkat2305/Interactive-Rating-Component
LIVE URL : https://venkat2305.github.io/Interactive-Rating-Component/
How can I get the data from the form into the javascript? I tried to get the selected radio button with .input[type='radio']:checked class but it's not working
That's because you've got a dot there
this works --> document.querySelector("input[type='radio']:checked")