Skip to content

Instantly share code, notes, and snippets.

@carlosrojaso
Created May 13, 2014 13:34
Show Gist options
  • Save carlosrojaso/db5f6896994c8b586a51 to your computer and use it in GitHub Desktop.
Save carlosrojaso/db5f6896994c8b586a51 to your computer and use it in GitHub Desktop.
Manipulating HTML Elements
<!DOCTYPE html>
<html>
<body>
<h1>My First Web Page</h1>
<p id="demo">My First Paragraph.</p>
<script>
document.getElementById("demo").innerHTML = "Paragraph changed.";
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment