Below is the javascript code I have written, saved as create.js:
var stuff = document.querySelector(".stuff");
var item = document.createElement('div');
item.className = 'item';
stuff.appendChild(item);
This is the corresponding HTML:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sound Create</title>
<script src="create.js"></script>
</head>
<body>
<div class="stuff">
</div>
</body>
</html>
Despite having coded this correctly, when I check on Developer Tools, no additional code is showing up. Any advice would be appreciated. Thank you!