<html>
<body>
<h1>JavaScript Math</h1>
<h2>The Math.tan() Method</h2>
<p>Math.tan() returns the tangent of a number:</p>
<p id="demo"></p>
<script>
let a = Math.tan(0).toFixed(2);
let b = Math.tan(1).toFixed(2);
let c = Math.tan(2).toFixed(2);
let d = Math.tan(3).toFixed(2);
document.getElementById("demo").innerHTML = a + "<br>" + b + "<br>" + c + "<br>" + d;;
</script>
</body>
</html>