title: In Javascript How can I customize alert window?
body: <p>In a static html page i want to do following actions:</p>
  
  <ol>
  <li>as the url is entered first I want to display the terms and conditions using <code>window.alert("TERMS AND CONDITIONS")</code>.</li>
  <li>In the dialogue box I want two buttons "agree" and "dont agree". If agree is pressed I want to  use <code>window.location.assign("next page url")</code> .And if dis agree is pressed I want to use <code>window.close</code>("","_self")</li>
  </ol>
  
  <p>I'm a total beginner and have minimum knowledge of Javascript.</p>
  
  <p>Thank you in advance.</p>