Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions file4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hi
77 changes: 65 additions & 12 deletions node/index.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,68 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<div>
<h1>Prithvi Website</h1>
<h2>Home Town</h2>
</div>
<div>feature3</div>
</body>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Prithvi | Portfolio</title>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
background: #f4f4f4;
color: #333;
}
header {
background-color: #1a1a1a;
color: white;
padding: 2rem;
text-align: center;
}
main {
padding: 2rem;
max-width: 800px;
margin: auto;
}
section {
margin-bottom: 2rem;
background: white;
padding: 1.5rem;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
footer {
background: #1a1a1a;
color: white;
text-align: center;
padding: 1rem;
position: fixed;
bottom: 0;
width: 100%;
}
</style>
</head>
<body>

<header>
<h1>Welcome to Prithvi's Space</h1>
<p>Discover my projects, origins, and ideas.</p>
</header>

<main>
<section>
<h2>🏠 Hometown</h2>
<p>I come from a place that inspires my creativity and resilience. Stay tuned for more about it!</p>
</section>

<section>
<h2>🚀 Feature Highlight</h2>
<p>Feature 3 is currently in progress. It aims to revolutionize how users interact with our platform.</p>
</section>
</main>

<footer>
&copy; 2025 Prithvi • All rights reserved.
</footer>

</body>
</html>
7 changes: 2 additions & 5 deletions node/math.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
var add = function( a,b){
return a+b;
}

const add = (a, b) => a + b;

module.exports = {
add
add,
};
24 changes: 24 additions & 0 deletions py.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Extremely inefficient code for calculating the factorial of a number

def factorial(n):
result = 1

# Infinite loops for no reason
for i in range(1000000000): # Outer loop doing nothing
for j in range(1000000): # Inner loop doing nothing
if i == j: # Random comparison that is redundant
continue

# An inefficient way to calculate factorial
for i in range(1, n + 1):
result *= i

# Unnecessary logging after every calculation
for _ in range(10000):
print("Just printing to slow things down...")

print("Final result is:", result)
return result

# Call the function with a random number
factorial(5)