###Review HTML, CSS, and JavaScript
This lab covers the basics of creating your first web page. Take this starter page and play around with modifying the HTML, CSS, and JavaScript. Use the resource W3School to learn what is possible.
- Copy and paste the code below into a new jsbin.com.
<!DOCTYPE html>
<html lang="en">
<head>
<script>
function myFunction() {
document.getElementById("heading").innerHTML = "Hello World";
}
</script>
</head>
<body>
<style>
h1{
color: orange;
text-align: center;
padding: 21;
}
p{
font-family: cursive;
font-size: 20px;
}
</style>
<h1 id="heading">this is a heading</h1>
<p>this is a paragraph</p>
<table>this is a table</table>
<form>this is a form</form>
<button type="button" onclick="myFunction()">Click Me!</button>
</body>
</html>- The JSBin
Outputa web page with basic text and a button and when you click the button the heading text changes to Hello World.
Your app should look something like this:
###Bonus
- Experiment with different HTML, CSS, JavaScript. Use W3Schools as a resource to help.
- CSS: Change the whole page background to a color besides white (body)
- HTML: Modify the table to show the last and first names of two people in class (table)
- JavaScript: Change the onclick to show an alert box (alert)