HTML, CSS, and JavaScript
Getting Started
create an account for = https://codesandbox.io/
create a new HTML+CSS project
add an
index.jsfile
HTML Boilerplate (explained)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>MUS1331</title>
<link rel="stylesheet" href="styles.css" />
<script defer src="index.js"></script>
</head>
<body>
<p id='dog'>This is a paragraph.</p>
</body>
</html>Understanding HTML, CSS, and JavaScript
style.css
index.js Example 1 (popup box)
index.js Example 2 (changing content of a paragraph)
index.js Example 3 (guessing a number between 1 and 10)
Great Resource
Last updated
Was this helpful?