title: how to display JavaScript alert only on mobile screen
body: <p>I want to show a JavaScript alert only on mobile devices.</p>
  <p>because my website is not responsive on mobile so I want to alert users to visit on desktop.</p>