I have an array
JS file
dayNames = ["SUN", "MON", "TUE", "WED" , "THU", "FRI", "SAT"];
HTML file
<template for:each={dayNames} for:item="date">
<span class="dt days" key={date}> {date} </span>
</template>
CSS file
.dt{
letter-spacing: 0.05em;
font-size: 20px;
padding: 5px 0;
}
.days{
color: aqua;
opacity: 0.2;
}
I want to change opacity to 1; when dayNames is FRI or (current day)