I'm hoping that someone could tell me why this is not working in VS Code.
Here is the HTML
Code:
<!doctype html> <html lang="en">
<!doctype html> <html lang="en">
<body onload="loadGrades()">
<button onclick="myFunction()">Add a grade!</button>
<p id="grades"></p>
<script>
var grades = [10,12,13];
function loadGrades(){
document.getElementById("grades").innerHTML =grades;
<style>
.blueback {
background-color="lightblue";
}
.yellowback {
background-color="yellow";
}
</style>
<h1>
Change CSS Classes
</h1>
<div id="d1">Hello</div>
</br>
<div id="d2">GoodBye</div>
</br>