Need to HAVE a web page that uses a loop to allow a teacher to enter...

80.2K

Verified Solution

Question

Programming

Need to HAVE a web page that uses a loop to allow a teacher toenter the following information for all students in a class:student's name, mt  grade, f  grade, hW grade,attendance grade.

program should calculate each student's numeric total gradebased on the following formula:course grade =(mT*0.3)+(f*0.4)+(homework*0.2)+(attendance*0.1)File Table.htmllooks like this:When the button is clicked, you need to prompt theuser the following information:-number of students (which willdetermine the number of rows in your table)-student's name-mTgrade-f grade-homework grade-attendance gradeOnce all theinformation above is provided, a JavaScript-generated table must becreated.

DEFAULT CODE

Student's Information

  

     

        

     

  

           

 

           

Student'sInformation

           

        

Answer & Explanation Solved by verified expert
4.3 Ratings (750 Votes)
HTML fileStudentsInformationnbspStudentsInformationfunction to getDatafunctiongetDatadeclaringvariable to create html tablevar table StudentsnamemT    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students