Skip to content

Commit 0b2f42b

Browse files
Create index.html
1 parent 567c03e commit 0b2f42b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

index.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
with open('index.html', 'w') as f:
2+
f.write("""
3+
<!DOCTYPE html>
4+
<html lang="en">
5+
<head>
6+
<meta charset="UTF-8">
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<title>My GitHub Page</title>
9+
<style>
10+
body { font-family: Arial, sans-serif; text-align: center; margin-top: 50px; }
11+
</style>
12+
</head>
13+
<body>
14+
<h1>Welcome to My GitHub Page!</h1>
15+
<p>This is a simple website hosted on GitHub Pages.</p>
16+
</body>
17+
</html>
18+
""")

0 commit comments

Comments
 (0)