Skip to content

Instantly share code, notes, and snippets.

@vinh0604
Created April 23, 2017 14:25
Show Gist options
  • Select an option

  • Save vinh0604/5bf47e4245ceac3eb265c55770f39173 to your computer and use it in GitHub Desktop.

Select an option

Save vinh0604/5bf47e4245ceac3eb265c55770f39173 to your computer and use it in GitHub Desktop.
Sample index page for site 3000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Hello from 3000</title>
</head>
<body>
<h1>Hello from 3000:</h1>
<span id="time"></span>
<script>
setInterval(function () {
document.getElementById('time').innerText = (new Date()).toLocaleString();
}, 1000)
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment