Change color of rows in table

Note how I used the ternary operator


you can use multiple ternary conditions as well

1 Like