Question: Create a web page as shown below: table [ [ Courses ] , [ Course Name,Course Code,Instructor,,,Taken ] , [ Course Name,Course Code,Credits,Select v
Create a web page as shown below:
tableCoursesCourse Name,Course Code,Instructor,,,TakenCourse Name,Course Code,Credits,Select vAdd Course,Remove CourseTotal Credits Completed,
When click on Add Course button a new row appended to the table
Highlight the row if the course is not taken by the student
Also calculate the credit for the taken courses and display the total credit completed.
When click on Delete Course button the last row will be deleted. Before deleting the last row you need to check the number of rows should be greater than than only the last row will be deleted otherwise it will give an alert message. If the last row course that is getting deleted is been taken by the student subtracts its credit from the total and remove the row.
Check below pictures
When clicked Add Course button times
When I delete the last row from the table
When I delete all the courses from the table
Note: create same page using html css javascript
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
