How to do drop down select to change color of table row?

I am trying to change the background-color of , can any one help me. Thanks in advance

Can you show us the HTML, CSS and JavaScript you used to try and do this, otherwise we’d only be guessing as to what the problem is. You can put it in a Codepen or JSFiddle if you’d prefer.

1 Like

Here is my code dont know how to add javascript

on selecting select menu the color should change

You just paste it into the lower-left box, much along the lines of what you’ve done for your HTML and CSS

A link to this just popped up on Twitter - it may be of interest to you:

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.