-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
135 lines (116 loc) · 3.61 KB
/
Copy pathindex.html
File metadata and controls
135 lines (116 loc) · 3.61 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE html>
<html lang="en">
<head>
<!-- The head section contains information for the browser. -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jared's Super Kool Website</title>
<style>
/* CSS styles control how the page looks. */
@import url('https://fonts.cdnfonts.com/css/minecraft-3');
body {
margin: 0;
font-family: 'Minecraft', Courier;
background: linear-gradient(135deg, #4b6cb7, #182848);
color: #ffffff;
min-height: 100vh;
image-rendering: pixelated;
font-smooth: never;
}
.container {
max-width: 900px;
margin: 0 auto;
padding: 20px;
}
header {
text-align: center;
padding: 40px 20px;
}
h1 {
margin-bottom: 10px;
font-size: 3rem;
}
p.intro {
font-size: 1.1rem;
opacity: 0.9;
line-height: 1.6;
}
.card {
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 16px;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
padding: 30px;
margin: 20px 0;
}
section {
margin-top: 20px;
}
h2 {
margin-bottom: 10px;
}
ul {
line-height: 1.8;
padding-left: 20px;
}
footer {
text-align: center;
padding: 20px 0;
opacity: 0.8;
}
a.button {
display: inline-block;
background: #ff9f43;
color: #1a1a1a;
text-decoration: none;
padding: 12px 24px;
border-radius: 999px;
margin-top: 16px;
font-weight: 600;
}
</style>
</head>
<body id="top">
<!-- The body section contains the content shown on the page. -->
<div class="container">
<!-- Main page container centers the content and adds padding. -->
<header>
<h1>Welcome to My First Website</h1>
<p class="intro">This is a simple test website made for the very first time.</p>
<p class = "intro">Because, you're <strong>only</strong> as good as what you <strong>practice</strong></p>
</header>
<section class="card">
<h2>What You Are Looking At</h2>
<p>The structure of this page is built with HTML and styled with CSS. </p> can you see this
<ul>
<li><strong>HTML</strong> defines the structure and content.</li>
<li><strong>CSS</strong> defines the colors, spacing, fonts, and layout.</li>
<li><strong>Comments</strong> are written with <code><!-- comment --></code> so they do not show up on the page.</li>
</ul>
</section>
<section class="card">
<h2>About This Page</h2>
<p>This page uses a modern, friendly layout:</p>
<ul>
<li>A large heading to introduce the page.</li>
<li>Sections inside cards for clear organization.</li>
<li>A responsive design so it looks good on phones and laptops.</li>
</ul>
</section>
<section class="card">
<h2>How to Edit This</h2>
<p>To change the page:</p>
<ul>
<li>Edit the text inside the <code><h1></code> or <code><p></code> tags.</li>
<li>Adjust the colors inside the <code><style></code> section.</li>
<li>Add more sections by copying a <code><section class="card"></code> block.</li>
</ul>
</section>
<a class="button" href="#top">A button to go to the top for lazy people...</a> <a class="button" href="/animation/index.html">Old HTML</a>
<footer>
<!-- The footer gives closing information at the bottom of the page. -->
<p>Made with HTML and CSS. With great power comes great responsibility!</p>
</footer>
</div>
</body>
</html>