Skip to content

Commit 3350e13

Browse files
author
Riya H
authored
Create index.html
1 parent b0947eb commit 3350e13

File tree

1 file changed

+151
-0
lines changed

1 file changed

+151
-0
lines changed

index.html

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Python Repository | Riya h</title>
7+
<link href="https://fonts.googleapis.com/css2?family=Silkscreen:wght@700&display=swap" rel="stylesheet">
8+
9+
<style>
10+
body {
11+
margin: 0;
12+
font-family: 'Consolas', monospace;
13+
background-color: black;
14+
color: white;
15+
display: flex;
16+
flex-direction: column;
17+
align-items: center;
18+
justify-content: flex-start;
19+
min-height: 100vh;
20+
overflow-x: hidden;
21+
position: relative;
22+
}
23+
24+
h1 {
25+
font-family: 'Silkscreen', cursive;
26+
font-size: 40px;
27+
font-weight: 700;
28+
text-align: center;
29+
color: orange;
30+
margin-top: 40px;
31+
text-shadow: 0 0 20px orange;
32+
z-index: 1;
33+
}
34+
35+
.box {
36+
background-color: #1a1a1a;
37+
border: 1px solid orange;
38+
box-shadow: 0 0 15px white;
39+
border-radius: 10px;
40+
width: 80%;
41+
max-width: 800px;
42+
margin: 20px auto;
43+
padding: 20px 30px;
44+
z-index: 1;
45+
transition: all 0.3s ease-in-out;
46+
transform: scale(1);
47+
}
48+
.box:hover {
49+
transform: scale(1.03);
50+
box-shadow: 0 0 25px white;
51+
}
52+
53+
h2 {
54+
color: orange;
55+
margin-top: 0;
56+
font-size: 24px;
57+
}
58+
p, li {
59+
font-size: 20px;
60+
line-height: 1.6;
61+
}
62+
a {
63+
color: #ffb84d;
64+
text-decoration: none;
65+
}
66+
a:hover {
67+
text-decoration: underline;
68+
color: white;
69+
}
70+
71+
code {
72+
background-color: #333;
73+
padding: 3px 6px;
74+
border-radius: 4px;
75+
color: #ffb84d;
76+
display: inline-block;
77+
font-size: 18px;
78+
}
79+
pre {
80+
background-color: #222;
81+
border-left: 3px solid orange;
82+
padding: 10px;
83+
overflow-x: auto;
84+
}
85+
img {
86+
display: block;
87+
margin: 10px auto;
88+
border-radius: 8px;
89+
}
90+
ul {
91+
list-style-type: none;
92+
padding-left: 0;
93+
}
94+
ul li::before {
95+
content: "➜ ";
96+
color: orange;
97+
}
98+
ol {
99+
padding-left: 20px;
100+
}
101+
</style>
102+
</head>
103+
<body>
104+
<h1>Python Repository</h1>
105+
106+
<div class="box">
107+
<h2>🐍 Python Overview</h2>
108+
<img height="200" alt="Python image" src="https://github.com/user-attachments/assets/9b52b7e2-13f0-45c0-b8a5-8f74a401ec35" />
109+
<p><b>Python</b> is a high-level, interpreted programming language known for its simplicity, readability, and versatility. It supports multiple paradigms such as object-oriented, functional, and procedural programming.</p>
110+
<p>From scripting and automation to web development and AI, Python remains one of the most widely used languages globally — ideal for beginners and professionals alike.</p>
111+
</div>
112+
113+
<div class="box">
114+
<h2>📁 Sub-folders in the repository</h2>
115+
<ul>
116+
<li><a href="https://github.com/rh3nium/Python/tree/main/Dictionaries">Dictionaries</a></li>
117+
<li><a href="https://github.com/rh3nium/Python/tree/main/For%20Loop">For Loop</a></li>
118+
<li><a href="https://github.com/rh3nium/Python/tree/main/Functions">Functions</a></li>
119+
<li><a href="https://github.com/rh3nium/Python/tree/main/If-Else-Elif%20Statements">If-Else-Elif Statements</a></li>
120+
<li><a href="https://github.com/rh3nium/Python/tree/main/Keywords%20and%20Identifiers">Keywords and Identifiers</a></li>
121+
<li><a href="https://github.com/rh3nium/Python/tree/main/Lists">Lists</a></li>
122+
<li><a href="https://github.com/rh3nium/Python/tree/main/Sets">Sets</a></li>
123+
<li><a href="https://github.com/rh3nium/Python/tree/main/Strings">Strings</a></li>
124+
<li><a href="https://github.com/rh3nium/Python/tree/main/Tkinter">Tkinter</a></li>
125+
<li><a href="https://github.com/rh3nium/Python/tree/main/Try-Except-Finally%20Statements">Try-Except-Finally Statements</a></li>
126+
<li><a href="https://github.com/rh3nium/Python/tree/main/Tuples">Tuples</a></li>
127+
<li><a href="https://github.com/rh3nium/Python/tree/main/While%20Loop">While Loop</a></li>
128+
</ul>
129+
</div>
130+
131+
<div class="box">
132+
<h2>🧩 Steps to Clone and Run this Repository</h2>
133+
<ol>
134+
<li>Run the git clone command to make a copy of this repository on your local machine:
135+
<pre><code>git clone https://github.com/rh3nium/Python</code></pre>
136+
</li>
137+
<li>Navigate to the folder:
138+
<pre><code>cd Python</code></pre>
139+
</li>
140+
<li>Run any Python script using:
141+
<pre><code>python3 filename.py</code></pre>
142+
</li>
143+
</ol>
144+
</div>
145+
146+
<div class="box">
147+
<h2>🔧 Usage</h2>
148+
<p>Each folder contains self-contained examples demonstrating Python concepts like loops, data types, and functions. Explore, modify, and learn interactively!</p>
149+
</div>
150+
</body>
151+
</html>

0 commit comments

Comments
 (0)