-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
247 lines (227 loc) · 16.5 KB
/
index.js
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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
//header
const headerDiv = document.createElement('div')
headerDiv.classList.add('headerdiv')
document.querySelector('header').appendChild(headerDiv)
const title = document.createElement('h1');
title.classList.add('title')
headerDiv.appendChild(title);
title.textContent = 'The Outsiders';
const secondTitle = document.createElement('h2');
title.appendChild(secondTitle);
secondTitle.classList.add('outsiders-subtitle');
secondTitle.innerHTML = 'Ebixia\'s most wanted <span>heroes</span>.';
const nav = document.createElement('nav');
headerDiv.appendChild(nav);
const navLink1 = document.createElement('a');
const navLink2 = document.createElement('a');
const navLink3 = document.createElement('a');
const navLink4 = document.createElement('a');
//nav1
document.querySelector('nav').appendChild(navLink1);
navLink1.innerHTML = 'HOME';
navLink1.classList.add('navlinks');
//nav2
document.querySelector('nav').appendChild(navLink2);
navLink2.innerHTML = 'HERE';
navLink2.classList.add('navlinks');
//nav3
document.querySelector('nav').appendChild(navLink3);
navLink3.textContent = 'THERE ';
navLink3.classList.add('navlinks');
//nav4
document.querySelector('nav').appendChild(navLink4);
navLink4.textContent = 'EVERYWHERE';
navLink4.classList.add('navlinks');
const titleMouseOver = document.querySelector('h1')
titleMouseOver.addEventListener("mouseover", mouseOver)
const titleMouseOut = document.querySelector('h1')
titleMouseOut.addEventListener("mouseout", mouseOut)
function mouseOver() {
titleMouseOver.style.textDecorationColor = '#980002'
titleMouseOver.style.textDecorationLine = 'line-through'
}
function mouseOut() {
titleMouseOut.style.color = '#62ab37'
titleMouseOut.style.textDecorationLine = 'none'
}
//main div
const divForSymbolImg = document.createElement('div');
divForSymbolImg.classList.add('symboldiv')
document.querySelector('.mainbody').appendChild(divForSymbolImg)
const outsidersImgDiv = document.createElement('div');
outsidersImgDiv.classList.add('outsidersimgdiv');
divForSymbolImg.appendChild(outsidersImgDiv)
const outsidersImg = document.createElement('img');
outsidersImg.classList.add('outsidersimg');
outsidersImg.src = 'https://i.postimg.cc/ncC34Yx4/New-Pgfdgroject-1.png';
outsidersImgDiv.appendChild(outsidersImg);
const hoverImgDiv = document.createElement('div');
hoverImgDiv.classList.add('hoverimgdiv', 'fadein');
divForSymbolImg.appendChild(hoverImgDiv);
const hoverImg = document.createElement('img');
hoverImg.classList.add('hoverimg');
hoverImgDiv.appendChild(hoverImg)
hoverImg.src = 'https://i.postimg.cc/HLF7t6wX/New-Pgfdgroject-1-3.png'
const headingOne = document.createElement('h3');
document.querySelector('.mainbody').appendChild(headingOne);
headingOne.textContent = 'Inside The Outsiders';
const headingTwo = document.createElement('h4');
headingTwo.classList.add('headingtwo')
document.querySelector('.mainbody').appendChild(headingTwo);
headingTwo.innerHTML = 'who, what, and <span class="headingspan">why?</span>';
const bodyTextDiv = document.createElement('div');
document.querySelector('.mainbody').appendChild(bodyTextDiv);
bodyTextDiv.classList.add('bodyTextDiv');
const bodyText = document.createElement('p');
bodyText.classList.add('bodytext');
bodyTextDiv.appendChild(bodyText);
bodyText.textContent = 'Ebixia has a new group in town, and they\'re taking the world by storm. Alex Drake, Geddy Splintwalker, Shinzo Katetsu, Fainne Uron of the Crannach Timberlands, Hollyanna Knox, Empress Isa Tenju, and Bael Volet. Those seven people make up an organization known as The Outsiders, a name that has spread to nearly every corner of Ebixia. But who are these people? Why did they appear? Who do they answer to? Our research took us to the streets of New Ordis. Reportedly, that group arrived on the scene to fight a dragon that slept beneath the city. They fought alongside New Ordis military and were victorious. That really set the team on the map. Their symbol, recognizable to many across the lands, is a dragon to celebrate their victory. Many have said that, since that day, they\'ve appeared in other places across Ebixia to do much of the same. They fought monsters in the streets of Sanctuary and brought war to the shores of Bao. Allegedly, they are responsible for the disappearance of several government officials in the town of Ternathus including Ralion "Thunderclasp", Millor "Waterdancer", Drundarr "Earthbreaker". Eyewitness reports can confirm they were directly responsible for dethroning Emperor Shenlong Yuya.';
const headingThree = document.createElement('h5');
document.querySelector('.mainbody').appendChild(headingThree);
headingThree.textContent = 'The Outsider Agenda';
const headingFour = document.createElement('h6');
headingFour.classList.add('headingfour')
document.querySelector('.mainbody').appendChild(headingFour);
headingFour.innerHTML = 'what are they <span class="headingspan">planning?</span>';
const bodyText2Div = document.createElement('div');
bodyText2Div.classList.add('bodytextDiv2');
document.querySelector('.mainbody').appendChild(bodyText2Div);
const bodytext2 = document.createElement('p');
bodytext2.classList.add('bodytext2');
bodyText2Div.appendChild(bodytext2);
bodytext2.textContent = 'Reports on their mission statement varies. Many report they accept no payment for the work they do. Many others see these deeds as violent displays of power. Several world leaders such as Governor Renault of Northport and King Saxon Ordathe II of Banetrail were positive in their remarks. Queen Ordathe had this to say, "The Outsiders are noble people. They\'re the reason we have been able to uplift many of our citizens from poverty." Deljord\'s leader, Piranha, had other thoughts. "They\'re fine. Arrogant. Well-intentioned." New Ordis and Ternathus leadership declined giving any statement. The picture that has been painted for *this* reporter is that they call themselves heroes. Works of fiction, come to life, who fight for justice and freedom. They\'re stationed in the Dewdrop Glade where visitors are welcome to come and request their aid. Their secretary, Eleanor, is available to take your request. This newspaper would like to personally thank Eleanor for her help in publishing this article with her anecdotes and detailed research.';
const characterInfoHeading = document.createElement('h7');
characterInfoHeading.textContent = 'Meet the Outsiders';
const characterInfoHeadingSubtitle = document.createElement('h8');
characterInfoHeadingSubtitle.classList.add('characterinfosubtitle')
characterInfoHeadingSubtitle.innerHTML = 'who, maybe not where, or why...<span class="headingspan"> definitely not why</span>.';
document.querySelector('.characterinfo').appendChild(characterInfoHeading);
document.querySelector('.characterinfo').appendChild(characterInfoHeadingSubtitle);
const characterInfoDiv = document.createElement('div');
document.querySelector('.characterinfo').appendChild(characterInfoDiv);
characterInfoDiv.classList.add('characterinfodiv');
const characterInfoText = document.createElement('p');
characterInfoText.classList.add('characterinfotext');
characterInfoDiv.appendChild(characterInfoText);
characterInfoText.innerHTML = 'On the subject of The Outsiders, we have many questions, the main ones being, who are these people, and what makes them tick? Well, we\'ve gathered a bit of information on each one of them just for you! Now, I\'ll warn you, some of them were <span class="characterspan"> a lot </span>more forthcoming than others, but I did my best to bring you the inside scoop on each of them, at least... what I could get.';
const wrapperDiv = document.createElement('div')
//alex
const leaderDaddy = document.createElement('div');
leaderDaddy.classList.add('leaderdaddydiv');
document.querySelector('.characterinfo').appendChild(leaderDaddy);
const leaderDaddyTitle = document.createElement('h9');
leaderDaddyTitle.classList.add('leaderdaddy');
leaderDaddy.appendChild(leaderDaddyTitle);
leaderDaddyTitle.textContent = 'Alex Drake';
const leaderDaddyText = document.createElement('p');
leaderDaddyText.classList.add('alexdrake');
leaderDaddy.appendChild(leaderDaddyText);
leaderDaddyText.innerHTML = 'Alex Drake is the proclaimed leader of this rag-tag group of adventures, a bit broody for my taste, but effective and capable, nonetheless. Born in New Ordis, he is native to Ordsia, even owning a home in the town itself. His father being a pretty prominent member of the council or New Ordis means that he inherited his leadership skills honestly, not that we have any doubt... well not that we have <span class="leaderdaddyspan">that many</span> doubts. While he\'s certaintly known for his handling of the group, we also know him by his dedication to the latest fashion.';
const alexDrakeLink = document.createElement('a');
alexDrakeLink.classList.add('alexslink');
alexDrakeLink.textContent = 'Read more about Alex Drake';
leaderDaddyText.appendChild(alexDrakeLink);
alexDrakeLink.href = 'alexdrake.html';
//fainne
const weirdForestGirl = document.createElement('div');
weirdForestGirl.classList.add('forestgirldiv');
document.querySelector('.characterinfo').appendChild(weirdForestGirl);
const weirdForestGirlTitle = document.createElement('h10');
weirdForestGirlTitle.classList.add('weirdforestgirl');
weirdForestGirl.appendChild(weirdForestGirlTitle);
weirdForestGirlTitle.textContent = 'Fainne Uron';
const weirdForestGirlText = document.createElement('p');
weirdForestGirlText.classList.add('fainneuron');
weirdForestGirlTitle.appendChild(weirdForestGirlText);
weirdForestGirlText.innerHTML = 'Let me just start this by saying, and don\'t get me wrong, I have met many weird people in my time as a journalist, but my god... what an odd person. Sweet, but a little out there in terms of opinions, and dress. A druid hailing from the Crannach Timberlands, really the only surviving member of the original tribe, Fainne Uron is nothing if not talented. Whether it be changing into different creatures, or summoning the will to rebuild her tribe, Fainne has the gumption and dedication to do it all.';
const fainneUronLink = document.createElement('a');
fainneUronLink.classList.add('fainneslink');
fainneUronLink.textContent = 'Read more about Fainne Uron';
weirdForestGirlText.appendChild(fainneUronLink);
fainneUronLink.href = 'fainneuron.html';
//shinzo
const seaWitch = document.createElement('div');
seaWitch.classList.add('seawitchdiv');
document.querySelector('.characterinfo').appendChild(seaWitch);
const seaWitchTitle = document.createElement('h11');
seaWitchTitle.classList.add('seawitch');
seaWitch.appendChild(seaWitchTitle);
seaWitchTitle.textContent = 'Shinzo Katetsu';
const seaWitchText = document.createElement('p');
seaWitchText.classList.add('shinzokatetsu');
seaWitchTitle.appendChild(seaWitchText);
seaWitchText.innerHTML = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Aenean pharetra magna ac placerat vestibulum. Dui accumsan sit amet nulla facilisi morbi tempus iaculis. Adipiscing at in tellus integer. Purus sit amet luctus venenatis. Malesuada bibendum arcu vitae elementum curabitur vitae. Nunc mattis enim ut tellus elementum sagittis. Vulputate mi sit amet mauris commodo quis. Ultrices mi tempus imperdiet nulla malesuada pellentesque elit. Nisi quis eleifend quam adipiscing vitae proin sagittis.';
const seaWitchLink = document.createElement('a');
seaWitchLink.classList.add('shinzoslink');
seaWitchLink.textContent = 'Read more about Shinzo Katetsu';
seaWitchText.appendChild(seaWitchLink);
seaWitchLink.href = 'shinzo.html';
//geddy
const theBoogity = document.createElement('div');
theBoogity.classList.add('theboogityiv');
document.querySelector('.characterinfo').appendChild(theBoogity);
const theBoogityTitle = document.createElement('h15');
theBoogityTitle.classList.add('theboogity');
theBoogity.appendChild(theBoogityTitle);
theBoogityTitle.textContent = 'Geddy Splintwalker';
const theBoogityText = document.createElement('p');
theBoogityText.classList.add('geddy');
theBoogityTitle.appendChild(theBoogityText);
theBoogityText.innerHTML = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Aenean pharetra magna ac placerat vestibulum. Dui accumsan sit amet nulla facilisi morbi tempus iaculis. Adipiscing at in tellus integer. Purus sit amet luctus venenatis. Malesuada bibendum arcu vitae elementum curabitur vitae. Nunc mattis enim ut tellus elementum sagittis. Vulputate mi sit amet mauris commodo quis. Ultrices mi tempus imperdiet nulla malesuada pellentesque elit. Nisi quis eleifend quam adipiscing vitae proin sagittis.'
const theBoogityLink = document.createElement('a');
theBoogityLink.classList.add('geddyslink');
theBoogityText.appendChild(theBoogityLink);
theBoogityLink.textContent = 'Read more about Geddy Splintwalker';
theBoogityLink.href = 'geddy.html';
//holly
const shadowWeirdo = document.createElement('div');
shadowWeirdo.classList.add('shadowweirdodiv');
document.querySelector('.characterinfo').appendChild(shadowWeirdo);
const shadowWeirdoTitle = document.createElement('h12');
shadowWeirdoTitle.classList.add('shadowweirdo');
shadowWeirdo.appendChild(shadowWeirdoTitle);
shadowWeirdoTitle.textContent = 'Hollyanna Knox';
const shadowWeirdoText = document.createElement('p');
shadowWeirdoText.classList.add('hollyannaknox');
shadowWeirdoTitle.appendChild(shadowWeirdoText);
shadowWeirdoText.innerHTML = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Aenean pharetra magna ac placerat vestibulum. Dui accumsan sit amet nulla facilisi morbi tempus iaculis. Adipiscing at in tellus integer. Purus sit amet luctus venenatis. Malesuada bibendum arcu vitae elementum curabitur vitae. Nunc mattis enim ut tellus elementum sagittis. Vulputate mi sit amet mauris commodo quis. Ultrices mi tempus imperdiet nulla malesuada pellentesque elit. Nisi quis eleifend quam adipiscing vitae proin sagittis.'
const shadowWeirdoLink = document.createElement('a');
shadowWeirdoLink.classList.add('hollyslink');
shadowWeirdoText.appendChild(shadowWeirdoLink);
shadowWeirdoLink.textContent = 'Read more about Hollyanna Knox';
shadowWeirdoLink.href = './hollyannaknox.html'
//isa
const bigiron = document.createElement('div');
bigiron.classList.add('bigirondiv');
document.querySelector('.characterinfo').appendChild(bigiron);
const bigironTitle = document.createElement('h14');
bigironTitle.classList.add('bigiron');
bigiron.appendChild(bigironTitle);
bigironTitle.textContent = 'Isa Tenju';
const bigironText = document.createElement('p');
bigironText.classList.add('isatenju');
bigironTitle.appendChild(bigironText);
bigironText.innerHTML = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Aenean pharetra magna ac placerat vestibulum. Dui accumsan sit amet nulla facilisi morbi tempus iaculis. Adipiscing at in tellus integer. Purus sit amet luctus venenatis. Malesuada bibendum arcu vitae elementum curabitur vitae. Nunc mattis enim ut tellus elementum sagittis. Vulputate mi sit amet mauris commodo quis. Ultrices mi tempus imperdiet nulla malesuada pellentesque elit. Nisi quis eleifend quam adipiscing vitae proin sagittis.'
const bigironLink = document.createElement('a');
bigironLink.classList.add('isaslink');
bigironText.appendChild(bigironLink);
bigironLink.textContent = 'Read more about Isa Tenju';
bigironLink.href = 'isatenju.html';
//bael
const papercut = document.createElement('div');
papercut.classList.add('papercutdiv');
document.querySelector('.characterinfo').appendChild(papercut);
const papercutTitle = document.createElement('h13');
papercutTitle.classList.add('papercut');
papercut.appendChild(papercutTitle);
papercutTitle.textContent = 'Bael Volet';
const papercutText = document.createElement('p');
papercutText.classList.add('baelvolet');
papercutTitle.appendChild(papercutText);
papercutTitle.appendChild(papercutText);
papercutText.innerHTML = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Aenean pharetra magna ac placerat vestibulum. Dui accumsan sit amet nulla facilisi morbi tempus iaculis. Adipiscing at in tellus integer. Purus sit amet luctus venenatis. Malesuada bibendum arcu vitae elementum curabitur vitae. Nunc mattis enim ut tellus elementum sagittis. Vulputate mi sit amet mauris commodo quis. Ultrices mi tempus imperdiet nulla malesuada pellentesque elit. Nisi quis eleifend quam adipiscing vitae proin sagittis.'
const papercutLink = document.createElement('a');
papercutLink.classList.add('baelslink');
papercutText.appendChild(papercutLink);
papercutLink.textContent = 'Read more about Bael Volet';
papercutLink.href = './baelvolet.html';