I am trying to build a website including HTML, CSS and JS.
I have a HTML file and a JS file. I am trying to give the values of the HTML file to the JS file by using document.getElementById();
but it wont work.
This problem kinda holds me back and I am stuck because of that.
var b = document.getElementById("radioYes"); // a radio button called "yes"
var d = document.getElementById("radioNo"); // a radio button called "no"
var c = document.getElementById("submit1"); // submit-button
What can I do?