Create another HTML File with YourNameReqgNoJavaScript.html (Add this step screen shot too) . Design the form and show the output as shown below (using table, text fields, buttons, radio buttons and...


Create another HTML File with
YourNameReqgNoJavaScript.html (Add this step screen shot too)
. Design the form and show the output as shown below (using table, text fields, buttons, radio buttons and formatting tags). Also define External CSS file and apply CSS to all the Text Fields, Buttons and Lables.


Ask User to enter Name, Reg No, Obtain and Total Marks. When User Presses the Calculate Grade Button, then Percentage should be computed and displayed in Text field against percentage label. Finally, based on the Percentage compute the Grade and show in the Grade Text field. Using
JavaScript, write code to calculate the percentage and when user clicks the Submit button then following output should be printed in Browser. When User Clicks the Clear button all the field text should be cleared.



Also, include the following Checks/Validations



  1. Student Name only contain Alphabets, Numeric value can not be entered in this filed

  2. Student Name must be atleast 5 Characters in length

  3. Marks obt and Total Marks should be Numeric Values, String/Text value can not be entered to this text fields

  4. Marks obt and Total Marks should not be Negative or Zero

  5. Reg No must be maximum of 12 Characters (12-ARID-9999) and minimum of 9 Characters (09-ARID-1)



Hint:



For Percentage  >=80%                                                        Grade Will be A+



For Percentage<80%          and="" percentage =""> 70%         Grade Will be A



For Percentage<70%          and="" percentage =""> 65%         Grade Will be B



For Percentage<65%          and="" percentage =""> 60%         Grade Will be C



F-Grade, otherwise


Student Name<br>Saif UR Rehman<br>18-ARID-789<br>Reg No<br>380<br>Marks Obt (Last Se,ester)<br>Total Marks<br>500<br>76%<br>Percentage<br>A<br>Grade<br>Calculate Grade<br>Clear<br>

Extracted text: Student Name Saif UR Rehman 18-ARID-789 Reg No 380 Marks Obt (Last Se,ester) Total Marks 500 76% Percentage A Grade Calculate Grade Clear
Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here