-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
140 lines (134 loc) · 2.64 KB
/
Copy pathindex.js
File metadata and controls
140 lines (134 loc) · 2.64 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
132
133
134
135
136
137
138
139
140
// Age display
function getAge(dateString) {
var today = new Date();
var birthDate = new Date(dateString);
var age = today.getFullYear() - birthDate.getFullYear();
var m = today.getMonth() - birthDate.getMonth();
if (m < 0 || (m === 0 && today.getDate() < birthDate.getDate())) {
age--;
}
return age;
}
const age = document.getElementById("age");
const birthDate = new Date("2000-12-16");
const currentAge = getAge(birthDate);
age.innerHTML = currentAge;
// -------- Interests --------
// General
const general = [
"Nature",
"2000's vibes",
"Nostalgiacore",
"Linux",
"Animals",
"Reptiles",
"Spiders (especially tarantulas)",
"Chilling with friends",
"Videogames",
"Movies & Series",
"Computers",
"Anime",
"Rock/Metal music",
];
document.getElementById("general").innerHTML = general.sort().join(", ");
// Music
const music = [
"Powerwolf",
"Iron Maiden",
"Mago de Oz",
"Megadeth",
"Metallica",
"Lady Gaga",
"Deftones",
"Pantera",
"Muse",
"David Guetta",
"Avenged Sevenfold",
"Linkin Park",
"Michael Jackson",
"TOOL",
"Modern Talking",
"The Cranberries",
"Arctic Monkeys",
"Alice In Chains",
"Creed",
"Pearl Jam",
"Gary Moore",
"Backstreet Boys",
"Black Eyed Peas",
"Evanescence",
"Nightwish",
"Three Days Grace",
"Extremoduro",
"Crystal Castles",
"Nightcore",
"Limp Bizkit",
"Slipknot",
"Pignoise",
"Michael Jackson",
"Simple Plan",
];
document.getElementById("music").innerHTML = music.sort().join(", ");
// Games
const games = [
"Zelda",
"Red Dead Redemption",
"Pokémon",
"Minecraft",
"Resident Evil",
"Spore",
"Dwarf Fortress",
"Dark Souls",
"Elden Ring",
"Fallout New Vegas",
"The Sims",
"Nintendogs",
"Animal Crossing",
"Habbo",
"ArcheAge",
"Black Desert",
"Diablo",
"Starbound",
"Stardew Valley",
"Granblue Fantasy",
"Undertale",
"Terraria",
"Call of Duty",
"Battlefield",
"Balatro",
"No, I'm not a Human",
];
document.getElementById("games").innerHTML = games.sort().join(", ");
// Movies
const movies = [
"Schindler's List",
"American History X",
"The Pianist",
"Midsommar",
"Hereditary",
"Lord of The Rings",
"Pirates Of The Caribbean",
"Gladiator",
"It Follows",
"A Bronx Tale",
"Gran Torino",
"Interstellar",
"In Time",
];
document.getElementById("movies").innerHTML = movies.sort().join(", ");
// TV Series
const series = [
"Game of Thrones",
"Breaking Bad",
"How I met your mother",
"LOST",
"From",
"Vikings",
"The Walking Dead",
"Narcos",
"Dark",
"Black Mirror",
"Peaky Blinders",
"The Boys",
];
document.getElementById("series").innerHTML = series.sort().join(", ");