File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff line change 1+ const mangoClickable = document . querySelector ( "#mango-clickable" ) ;
2+
3+ mangoClickable . addEventListener ( "click" , ( e ) => {
4+ console . log ( ".|. || :3 || UoU && ::" ) ;
5+ } )
You can’t perform that action at this time.
0 commit comments