I am looking to hide an element on my webpage if the screen width is less than 1000px and a specific variable is above 15.
Here is the CSS code I have so far:
@media (max-width: 1000px){
#specific-id{
display:none
}
}
However, I need to incorporate JavaScript to ensure that this only happens when the variable is greater than 15. How can I achieve this control?