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
.taille img{ | |
height:30px; | |
width:30px; | |
} | |
#footer{ | |
background: rgba(0, 0, 0, 0.8); | |
color:white; | |
font-size: 0.7rem; | |
r |
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"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Quete 1</title> | |
</head> | |
<body> | |
<script src="quete1.js"></script> |
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
Début algorithme MON_ALGO | |
nbrSaisiUtilisateur = "nbr entier saisi par l'utilisateur" | |
Tant que nbrSaisiUtilisateur: | |
| afficher "Bienvenue à la wild" | |
Fin Tant que | |
Fin algorithme MON_ALGO |
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
/* Exo jsPOO */ | |
class Person { | |
constructor(name,age){ | |
this.name = name; | |
this.age = age; | |
} | |
tellMyName() { |
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("quel age avez-vous?") | |
process.stdin.on('data', (age) => { | |
if(isNaN(age)){ | |
console.log("Veuillez entrer un chiffre") | |
}else if(age < 99){ | |
console.log(2019 - age); | |
process.exit() |
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 assert = require('assert'); | |
// ... Ton code ici ... | |
class BankCustomer { | |
constructor(name){ | |
this.name = name; | |
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 assert = require('assert'); | |
// ... Ton code ici ... | |
class BankCustomer { | |
constructor(name, code_cb){ | |
let name_priv = name; | |
let code = code_cb; | |
this.name_perso = () => name_priv; |
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"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
</head> |
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
var cowsay = require("cowsay"); | |
console.log(cowsay.say({ | |
text : "Hello boynod", | |
e : "oO", | |
T : "U " | |
})); | |
// or cowsay.think() |