I need help with hiding a div on desktop and showing it only on mobile devices. The code can be found here
Specifically, I want the following code snippet to execute only in the mobile version:
However, it is showing up on the desktop version as well.<div class="mobiupdbox">
<div class="ovalmain"> Updates</div>
</div>
Interestingly, when I tested the same code on jsfiddle here, it worked as expected (the 'Updates' section was not displayed). I am confused about what I might be doing wrong. Any assistance would be greatly appreciated as I have been struggling with this for some time now.