I have HTML div with width of 190 px that's working normal for desktop but for mobile its not , is there a way to tell if connection is from desktop take this value else take this value ?
this is my code :
document.querySelector('.article').style.width ='190px';