We were given code in computer science which we were supposed to look at and explain and then we're supposed to add to it.
This is the code:
<!DOCTYPE html>
<html>
<head>
<title>Example Website</title>
</head>
<body>
<p id="demo"></p>
<script>
var array = ["example1","example2","example3"];
document.getElementById("demo").innerHTML = array[0]
</script>
</body>
</html>
What he wanted us to do now was make it print the array in separate lines with bullet points instead of just printing the first thing within the array which is 'example1'.
He said to use any resources you can from the internet to find out how and to try and remember the information found and then explain it during class.
