Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In HTML/CSS/JavaScript, how to display image beside a table upon hovering on a row. 1. Let's say at first there is a placeholder image beside

In HTML/CSS/JavaScript, how to display image beside a table upon hovering on a row.

1. Let's say at first there is a placeholder image beside the table and let say it's "placeholder.jpg".

2. When i hover over a row of the table, the image must change into "row1.jpg" but it must be of the same size. And the same when i hover my mouse over row 2 displaying "row2.jpg" and so on.

3. When my mouse exits the table, the latest image must remain.

4. This implementation can only use HTML, CSS & JavaScript. So, JQuery is not allowed.

I would appreciate it i you'd drop a code snippet to solve this. Thank you.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Students also viewed these Databases questions