Add the tags needed to include JavaScript code inside HTML code.

<html>
<body>
<h1>The New York Times</h1>
<h2>Membership</h2>
<script>
var discountType = "student";
</script>
</body>
</html>]]>

Make sure to pick <script>, followed by </script>.