Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Need Js code. highglight row or coloumn when header is clicked, if only cell is clicked highlight only cell. Given HTML AND CSS Lab 4
Need Js code. highglight row or coloumn when header is clicked, if only cell is clicked highlight only cell.
Given HTML AND CSS
Student ID | Asmt 1 | Asmt 2 | Asmt 3 |
---|---|---|---|
100000000 | 4.5 | 3.75 | 3.4 |
100000001 | 4.25 | 4.12 | 4.25 |
100000002 | 5.0 | 4.75 | 4.5 |
CSS
table { width: 600px; border-collapse: collapse; } td,th { border: 1px solid black; } th { background-color: darkBlue; color: white; } .selected { background-color: lightBlue; }
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started