-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhello.html
65 lines (59 loc) · 1.54 KB
/
hello.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hello World App</title>
<style>
/* General styles */
body {
margin: 0;
padding: 0;
font-family: 'Courier New', Courier, monospace;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: linear-gradient(135deg, #f8edeb, #f3d5c0);
}
/* Card styles */
.card {
background: white;
border-radius: 15px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
padding: 2rem;
text-align: center;
width: 300px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: scale(1.05);
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}
/* Text styles */
.card h1 {
margin: 0;
font-size: 2rem;
color: #333;
}
.card p {
font-size: 1rem;
color: #666;
margin-top: 1rem;
}
</style>
</head>
<body>
<div class="card">
<h1>Hello, World!</h1>
<p>Welcome to your first web application.</p>
<h4>This was created by ChatGPT</h4>
:)
</div>
<script>
// JavaScript code if needed in future
console.log('Hello, World!');
// testing
</script>
</body>
</html>