Skip to content

Instantly share code, notes, and snippets.

@perguth
Last active August 16, 2019 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save perguth/4fc0cd466991fa0302eecd54ce935610 to your computer and use it in GitHub Desktop.
Save perguth/4fc0cd466991fa0302eecd54ce935610 to your computer and use it in GitHub Desktop.
Some website starter.
<!doctype html>
<title>My website</title>
<!-- Validate your own here: https://validator.w3.org/ -->
<main>
<h1>My website</h1>
<p>Some texts.</p>
</main>
<script>
setTimeout(_ => {
const paragraphs = document.getElementsByTagName('p')
const firstParagraph = paragraphs[0]
firstParagraph.innerHTML = 'Some other text.'
firstParagraph.style.backgroundColor = 'pink'
}, 1300)
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment