Files

26 lines
695 B
HTML
Raw Permalink Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Simple Website</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<nav>
<a href="/">Home</a>
<a href="/about">About</a>
<a href="/contact">Contact</a>
</nav>
<main>
<h1>Welcome to My Website</h1>
<p>This is a simple website running on Node.js in a Docker container!</p>
<p>Current time: <span id="time"></span></p>
</main>
<script>
document.getElementById('time').textContent = new Date().toLocaleString();
</script>
</body>
</html>