title: How to check a website is working in JavaScript?
body: <p>I want to check a website that is not under my control that is it working or not when a visitor visit a page. I am an a platform where only HTML/CSS/JAVASCRIPT are allowed so no PHP etc.</p>
  
  <p>Now my question is that is this possible via JavaScript to check a website is working or not? I saw many codes likes JQuery, AJAX but that are too complicated and I am new to coding. So can I do it via short and simple JavaScript?</p>