I have integrated CSS Modules
import style from "./styles/question.module.css";
// status[0] can range from 0 to 4
<p className={style[`difficulty_${status[0]}`]}>{difficulty}</p>,
The code above is functional, however the following code is malfunctioning.
// attempted to add more classes
<p className={`${style.difficulty} ${style[`difficulty_${status[0]}`]}}`}>{difficulty}</p>
Only the difficulty
class is being applied.