Hello, I need some help with this code.
Here's what I need done:
![](https://static.wixstatic.com/media/a27d24_47e62a5e489c4058a3710af534148c52~mv2.png/v1/fill/w_980,h_507,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/a27d24_47e62a5e489c4058a3710af534148c52~mv2.png)
So where it says "Severe Weather Alert" it is going to have different text. I want it to be able to take that information from my database (I already figured that out)
Now, what I need is when it says "Severe Weather Alert", I want the background color of the black bar to be red. When it says "Forecast Alert", I want the color to be green and so on.
I don't know how to import my database information into the if/then statements.
I know this may be confusing, but I can answer any questions you may have.
Thanks in advance!!
Caden