Skip to content

Commit

Permalink
Begin module 8
Browse files Browse the repository at this point in the history
  • Loading branch information
timhaller committed Jan 26, 2024
1 parent 9edaad6 commit e67361c
Show file tree
Hide file tree
Showing 9 changed files with 56 additions and 0 deletions.
11 changes: 11 additions & 0 deletions exercices/m08/A/1/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Alerte</title>
<script src="main.js" ></script>
</head>
<body>

</body>
</html>
1 change: 1 addition & 0 deletions exercices/m08/A/1/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alert("Bravo! Votre pingouin a réussi son ascension!");
11 changes: 11 additions & 0 deletions exercices/m08/A/3/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Alerte</title>
<script src="main.js" ></script>
</head>
<body onload="resultatAscension()">

</body>
</html>
3 changes: 3 additions & 0 deletions exercices/m08/A/3/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function resultatAscension(){
alert("Bravo! Votre pingouin a réussi son ascension!");
}
11 changes: 11 additions & 0 deletions exercices/m08/A/4/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en" onclick="resultatAscension()">
<head>
<meta charset="UTF-8">
<title>Alerte</title>
<script src="main.js" ></script>
</head>
<body>

</body>
</html>
3 changes: 3 additions & 0 deletions exercices/m08/A/4/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function resultatAscension(){
alert("Bravo! Votre pingouin a réussi son ascension!");
}
11 changes: 11 additions & 0 deletions exercices/m08/A/5/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Alerte</title>
<script src="main.js" ></script>
</head>
<body>
<button onclick="resultatAscension()">Ascension</button>
</body>
</html>
4 changes: 4 additions & 0 deletions exercices/m08/A/5/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
function resultatAscension(){
alert("Bravo! Votre pingouin a réussi son ascension!");
}

1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ function mute() {
letters.innerText = randomString(1500);

window.onload = () => {
window.location = "https://www.youtube.com/watch?v=dQw4w9WgXcQ";
setInterval(loop, 400);

letters.onmouseenter = () => {
Expand Down

0 comments on commit e67361c

Please sign in to comment.