Hi all,
can you please help me with these part of my code, I want to calculate average grade from each module and
not sure if need to label each element there, or is there any easier option to do that?
appreciate your help ![]()
see my code here:
<p id="one" class="hiddenDiv" form name="semester1" action"#">
whats your scores in these modules?</br>
Web developement:
<label> <input type = "radio" name = "web"
value = "fail" /> 0-39 </label>
<label> <input type = "radio" name = "web"
value = "59" /> 40-59 </label>
<label> <input type = "radio" name = "web"
value = "75" /> 60-75 </label>
<label> <input type = "radio" name = "web"
value = "89" /> 76-89 </label>
<label> <input type = "radio" name = "web"
value = "100" /> 90-100 </label>
</br></br>
Programming :
<label> <input type = "radio" name = "pr"
value = "fail" /> 0-39 </label>
<label> <input type = "radio" name = "pr"
value = "59" /> 40-59 </label>
<label> <input type = "radio" name = "pr"
value = "75" /> 60-75 </label>
<label> <input type = "radio" name = "pr"
value = "89" /> 76-89 </label>
<label> <input type = "radio" name = "pr"
value = "100" /> 90-100 </label>
</br></br>
Interactive case study:
<label>A</label> <input type = "radio" name = "ics"
value = "fail" /> 0-39 >
<label>B</label> <input type = "radio" name = "ics"
value = "59" /> 40-59 </label>
<label> <input type = "radio" name = "ics"
value = "75" /> 60-75 </label>
<label> <input type = "radio" name = "ics"
value = "89" /> 76-89 </label>
<label> <input type = "radio" name = "ics"
value = "100" /> 90-100 </label> </br>
<input type = "button" name = "submit"
onclick=""CALCULATE? ? ? " " value="submit" name="submit" type="submit" />