<!doctype html>
<!--Author: Morrison-->
<html>
<head>
<title>popups</title>
<link rel="stylesheet" href="popups.css"/>
<script src="popups.js">
</script>
</head>
<body>
<h2>Popup Demonstration</h2>
<p>Notice this. If you use one type of quote outside
of a string, the other type becomes an ordinary characters
inside of that string. This is demonstrated here. </p>
<p>This is not the preferred way of doing things but you will
see it in OPC. </p>
<p>We will learn how to separate JS, CSS and HTML and we will try
to keep that separation as strict as possible.</p>
<p><button onclick="alert('You are alerted!');">Alert me!</button></p>
<p><button onclick="confirm('Do you wanna?');">Make a choice!</button></p>
<p><button onclick="prompt('How much is that doggie in the window?');">Make an offer!</button></p>
<p><button onclick="let age = prompt('Enter your age:'); if(age < 21){console.log('go away')};">Tell your age!</button></p>
</body>
</html>