Skip to content

Commit 560847a

Browse files
added easter egg
1 parent fd7d795 commit 560847a

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ <h2 class="ubuntu-medium secondary">Monster Energy Original</h2>
2222
<p class="ubuntu-regular secondary">Unleash the beast inside of you.</p>
2323
</div>
2424

25-
<div class="monster-container">
25+
<div id="mango-clickable" class="monster-container">
2626
<img width=19% src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRBnvK6nednnXOwjlpMoNH3Q1qg8D44Tj0XFBlUnfk6hw&s=10">
2727
<h2 class="ubuntu-medium secondary">Monster Mango Loco</h2>
2828
<p>Unleash la bestia exótica we!</p>
29+
<p>Only Click on me!!!</p>
2930
</div>
3031

3132
<div class="monster-container">
@@ -46,6 +47,6 @@ <h2 class="ubuntu-medium">Monster Pacific punch</h2>
4647
<p>Relax and rock your monster |..|</p>
4748
</div>
4849
</div>
49-
50+
<script src="./index.js"></script>
5051
</body>
5152
</html>

index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const mangoClickable = document.querySelector("#mango-clickable");
2+
3+
mangoClickable.addEventListener("click", (e) => {
4+
console.log(".|. || :3 || UoU && ::");
5+
})

0 commit comments

Comments
 (0)