forked from Mahmoudgalalz/Learn-HTTP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
169 lines (138 loc) · 7 KB
/
index.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
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Learn HTTP</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="style.css" rel="stylesheet">
</head>
<body>
<section class="bg-gray-50">
<div
class="main mx-auto max-w-screen-xl px-4 py-10 lg:flex lg:h-screen"
>
<div class="mx-auto max-w-xl text-center">
<h1 class="text-3xl font-extrabold sm:text-5xl">
Learn HTTP with us
</h1>
<p class="mt-4 sm:text-xl sm:leading-relaxed">
Learn the How HTTP works, and the error codes
</p>
<div class="mt-8 flex flex-wrap justify-center gap-4">
<a
class="block w-full rounded bg-red-600 px-12 py-3 text-sm font-medium text-white shadow hover:bg-red-700 focus:outline-none focus:ring active:bg-red-500 sm:w-auto"
href="pages/code.html"
>
Explore The HTTP Codes
</a>
</div>
</div>
</div>
<section>
<div class="max-w-screen-xl px-4 py-8 mx-auto sm:px-6 sm:py-12 lg:px-2">
<ul class="grid gap-4 mt-2 sm:grid-cols-2 lg:grid-cols-2">
<li>
<a href="https://kinsta.com/knowledgebase/what-is-an-http-request/" class="group relative block h-96">
<span class="absolute inset-0 border-2 border-dashed border-black"></span>
<div
class="relative flex h-full transform items-end border-2 border-black bg-white transition-transform group-hover:-translate-x-2 group-hover:-translate-y-2"
>
<div
class="px-8 pb-8 transition-opacity group-hover:absolute group-hover:opacity-0"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-12 w-12"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 0 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
/>
</svg>
<h2 class="mt-4 text-2xl font-medium">What is HTTP</h2>
</div>
<div
class="absolute p-8 opacity-0 transition-opacity group-hover:relative group-hover:opacity-100"
>
<h3 class="mt-4 text-2xl font-medium">What is HTTP</h3>
<p class="mt-4">
How HTTP Work and what its mean.
</p>
<p class="mt-8 font-bold">Read more</p>
</div>
</div>
</a>
</li>
<li>
<a href="https://kinsta.com/knowledgebase/what-is-an-http-request/" class="group relative block h-96">
<span class="absolute inset-0 border-2 border-dashed border-black"></span>
<div
class="relative flex h-full transform items-end border-2 border-black bg-white transition-transform group-hover:-translate-x-2 group-hover:-translate-y-2"
>
<div
class="px-8 pb-8 transition-opacity group-hover:absolute group-hover:opacity-0"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-12 w-12"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 0 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
/>
</svg>
<h2 class="mt-4 text-2xl font-medium">HTTP Requests</h2>
</div>
<div
class="absolute p-8 opacity-0 transition-opacity group-hover:relative group-hover:opacity-100"
>
<h3 class="mt-4 text-2xl font-medium">What is HTTP request</h3>
<p class="mt-4">
How http requests works, and the Handshake with the server, and what is the methods and the request, and response.
</p>
<p class="mt-8 font-bold">Read more</p>
</div>
</div>
</a>
</li>
</ul>
</div>
</section>
</section>
<!--Footer-->
<footer aria-label="Site Footer" class="bg-gray-100 dark:bg-gray-900">
<div class="mx-auto max-w-5xl px-4 py-2 sm:px-6 lg:px-8">
<p
class="mx-auto mt-6 max-w-md text-center leading-relaxed text-gray-500 dark:text-gray-400"
>
Internet Technology Project <br>
All rights for Mahmoud Galal, Hitham Mohamed, Amin Elsaiad
</p>
<nav aria-label="Footer Nav" class="mt-12">
<ul class="flex flex-wrap justify-center gap-6 md:gap-8 lg:gap-12">
<li>
<a
class="text-gray-700 transition hover:text-gray-700/75 dark:text-white dark:hover:text-white/75"
href="/"
>
Codes
</a>
</li>
</ul>
</nav>
</div>
</footer>
</body>
</html>