I've encountered a strange issue with my calendar code where my JavaScript and CSS codes are inexplicably showing up next to the calendar. Does anyone have any insights into why this may be happening? I developed the code in an online HTML/CSS/JS editor and when I transferred it to an HTML file, this anomaly occurred. Despite spending hours trying to identify the problem, I haven't been able to pinpoint anything problematic.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>ICSI301 - Lab 2</title>
</head>
<body>
<h1 id="year">2021 School Calendar</h1>
<div class="calendar">
</div>
</body>
</html>
<script>
// JavaScript code
</script>
<style>
/* CSS Code */
</style>