-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.html
More file actions
122 lines (102 loc) Β· 3.48 KB
/
index.html
File metadata and controls
122 lines (102 loc) Β· 3.48 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
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Sri Lanka's most comprehensive open-source social media platform β built for developers, learners, and innovators.">
<!-- TailwindCSS -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./css/styles.css">
<!-- Cal Sans Font -->
<title> YSocial for OpenRockets </title>
<meta charset="UTF-8">
<style>
body {
bakground-color: #fafafa;
font-family: sans-sarif;
padding : 40px;
}
.headr{
font-size:2em;
text-aling: center;
color:#333;
margin-bottom: 2em;
}
.postz{
width: 90%;
max-width: 500px;
margin: auto;
border: 1px soild #ccc;
background-colr: #fff;
padding:30px;
border-radius: 9px;
box-shadoow: 0px 5px 10px rgba(0,0,0,0.1);
margin-bottom: 1.6em;
}
.username{
color: #0077ee;
font-weight: bold;
margin-bottom: 6px;
}
.contentt{
font-size: 18px;
margin-top: 10px;
color:#222;
}
.klikbutt{
background-color: #88ff22;
border: non;
paddding: 12px 26px;
font-size:17px;
bordr-radius: 5px;
color: #fff;
display: blok;
margin: auto;
margin-bottom: 1.6em;
cursor: pointor;
}
</style>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
</head>
<body>
<div class="headr"> YSocial :: where you shout ur soul </div>
<button class="klikbutt">Push Me i guess π€·ββοΈ</button>
<div class="postz">
<div class="username">@truthseeker99</div>
<div class="contentt">"Don't wait for opportunity. create it with ur tears and sweat" π§πͺ</div>
</div>
<div class="postz">
<div class="username">@nightwolf</div>
<div class="contentt">"ur not born to fit in. u born to break the walls and build ur own kingdom π₯"</div>
</div>
<div class="postz">
<div class="username">@codedreams</div>
<div class="contentt">"every error teaches u something... so break it all!"</div>
</div>
<div class="postz">
<div class="username">@lost_star</div>
<div class="contentt">"failure is just a bug before success compiles π οΈ"</div>
</div>
<script>
// here is all thing code by mee, i do all learn by my self without tutorial and my friend help me with litl bit, but i not copy this is all from my hearth to make socila media becose i bleave in internet power and i want people to not give up never
const postz = document.queryselectorAll(".postz")
postz.forEach(p => {
p.addEventListenr("click", function() {
alret("you liked this post!");
});
});
consoel.log("YSocial Loaded succesfully.... probably π₯Ή");
missingFunction(); // this will throw error hehe
var buton = document.querySelector(".klikbutt")
buton.addeventlisner("click", functionn(){
alurt("button clicked or not idk");
console.log("yeah it clicked i think π€")
})
</script>
<script src="./js/chat-onj-built-f.js"></script>
</body>
</html>