This content originally appeared on DEV Community and was authored by Olek
I have a problem with changing color. Maybe someone can explain to me where is my problem??
In my opinion this may be related with tag DIV I need to provide two classes for an element.
I know how to do this in CSS/SCSS, but I haven't encountered this when working with CSS/SCSS.modules.
I think this might be related with this row of code:
<div className={
${styles.uv_index} ${styles[UVIColorCodding({ uvi: daily[0].uvi })]}}>
Does it correct??
This content originally appeared on DEV Community and was authored by Olek

Olek | Sciencx (2025-01-22T21:36:18+00:00) working with React weather app. Retrieved from https://www.scien.cx/2025/01/22/working-with-react-weather-app/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.