Skip to content

Instantly share code, notes, and snippets.

@jerzyyy
Created September 13, 2018 15:00
Show Gist options
  • Save jerzyyy/5a4deb149a84f2d0d599396b4d652f93 to your computer and use it in GitHub Desktop.
Save jerzyyy/5a4deb149a84f2d0d599396b4d652f93 to your computer and use it in GitHub Desktop.
const reponse = prompt("Hey mon ami ! Tu aimes ça les patates ?");
let a = ``
if (reponse === "oui") {
for (i = 0; i < 7; i++)
a = a + '#'
console.log(a)
} else if (reponse === "non") {
alert(`dommage`);
} else {
alert(`Je vous sens comme tiraillé`);
}
alert('oui')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment