forked from Evie-Skinner18/happy_hacktoberfest_19
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhalloween.html
78 lines (65 loc) · 3.69 KB
/
halloween.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- Link to fonts -->
<link href="https://fonts.googleapis.com/css?family=Mansalva&display=swap" rel="stylesheet">
<!-- Link to stylesheets -->
<link rel="stylesheet" type="text/css" href="./css/halloween.css">
<!-- tab icon -->
<link rel="shortcut icon" type="image/x-icon" href="./img/favicon.png" />
<title>Halloween</title>
</head>
<body>
<article>
<header>
<ul>
<li><a href="index.html">Home</a></li>
<li style="float:right"><a href="https://hacktoberfest.digitalocean.com/">Hacktoberfest</a></li>
</ul>
</header>
<main>
<script>
var onImg= "./images/off.jpg";
var offImg= "./images/on.jpg";
</script>
<img id="jackolantern" alt ="a jackolantern" src="./images/off.jpg" onclick="this.src = this.src == offImg ? onImg : offImg;"/>
<br>
<label for="jackolantern">Click on the jackolantern to illuminate it</label>
<!-- Make this display overlaid on the image with a border -->
<h1>Stingy Jack</h1>
<!-- Make the first letter of each p element big -->
<p>Halloween is celebrated in several countries. It is one of the world's
oldest holidays. In some countries it is celebrated with trick-or-treating,
costume parties, pumpkin carving, and mischievous acts.</p>
<p>The act of decorating jackolanterns comes from an Irish folktale about a
man named Stingy Jack. He is is also known as Jack the Smith, Drunk Jack,
Flaky Jack, and Jack of the Lantern.</p>
<p>The story has many variations as far as specifics go. Quite a long time
ago in the towns an villages of Ireland Stingy Jack was known as a drunk.
He was a bad person who would steal, manipulate, and was generally no good.</p>
<p>One day Satan comes to collect his soul. He invites him for a drink and
Satan agrees. After the drink at the pub, Jack convinces Satan to pay for their
drinks. Satan turns himself into a coin so that Jack can use the coin to pay
for the drinks. Instead Jack puts the coin in his pocket which also contains a
crucifix. The crucifix kept Satan from escaping his form. Jack convinced Satan
to agree to leave him along for a number of years if he set him free. Satan
agreed.</p>
<p>After the years had passed Jack once again faces Satan. This time Jack
convinces Satan to climb a tree to pick a piece of fruit for him to eat. As
Satan is up in the tree Jack prevents him from climbing down with a crucifix.
They once again come to agreement. If Jack lets him free, Satan must never
bother him again and never take his soul.</p>
<p>Some time later Jack died. Rejected at the Gates of Heaven due to his
sinful ways. Satan, angry about the tricks, and keeping his word, wouldn't
let Jack into Hell. Satan gave Jack a glowing ember for a light and sent him
on his way. He has been roaming the earth ever since.</p>
<p>In Ireland and Scotland people started making their own versions of Jack's
lanterns by carving potatos and turnips to frighten away Stingy Jack and other
spirits. In America the pumpkin is the fruit of choice.</p>
</main>
<footer>
</footer>
</article>
</body>
</html>