This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang=en> | |
<head> | |
<meta charset="UTF-8"> | |
<title>FindThePrecious.com</title> | |
</head> | |
<body> | |
<header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*gandalf.css */ | |
.gandalfpic { | |
position: absolute; | |
} | |
img { | |
opacity: 0.5; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wilder@wilder-ThinkPad-T430:~$ ls | |
Desktop Documents Downloads Music Pictures Public snap Templates Videos | |
wilder@wilder-ThinkPad-T430:~$ cd Documents | |
wilder@wilder-ThinkPad-T430:~/Documents$ ls -l | |
total 4 | |
drwxr-xr-x 6 wilder wilder 4096 sept. 4 12:07 chalet | |
wilder@wilder-ThinkPad-T430:~/Documents$ cd .. | |
wilder@wilder-ThinkPad-T430:~$ cd .. | |
wilder@wilder-ThinkPad-T430:/home$ cd .. | |
wilder@wilder-ThinkPad-T430:/$ ls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
formule sans boucle: | |
Début NbMaxBonbons (réel argent, réel prix) | |
si argent > 0 et prix >0 | |
réel NbVirgule <= prix / argent | |
retourner ArrondiInferieur (NbVirgule) | |
sinon: retourner 0 | |
Fin si | |
Fin NbMaxBonbons |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.square{ | |
height: 6vw; | |
border: solid white; | |
} | |
.square:after{ | |
content:""; | |
display: block; | |
padding-bottom: 100%; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="fr"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Premier programme</title> | |
</head> | |
<body> | |
<script src="premier-programme.js"></script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.hobbit { | |
opacity: 0.5; | |
} | |
.hobbit:hover { | |
opacity: 1; | |
} | |
.dead { | |
position: absolute; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let isPotatoLover = prompt("Hey mon ami ! Tu aimes ça les patates ?", 'oui ou non'); | |
if ((isPotatoLover === 'oui') || (isPotatoLover ==='Oui')){ | |
let hashTag ='#' | |
for (let count=0;count<7;count++) { | |
console.log(hashTag); | |
hashTag += '#'; | |
} | |
} | |
else if ((isPotatoLover === 'non') ||(isPotatoLover==='Non')) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
process.stdin.resume() | |
process.stdin.setEncoding('utf8') | |
console.log('How old are you ?') | |
process.stdin.on('data', (num) => { | |
if (num>0 && num<100) { | |
function calcYear (num) { | |
let birthYear = 2018 - num; | |
return birthYear; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const cowsay = require('cowsay'); | |
console.log(cowsay.say({ | |
text: "hello boy", | |
e: "oO", | |
T: "U", | |
})); |
OlderNewer