Skip to content

Instantly share code, notes, and snippets.

View gregoire-bessagnet's full-sized avatar
💭
open for positions

Grégoire Bessagnet gregoire-bessagnet

💭
open for positions
View GitHub Profile
@media screen and (max-width: 1024px) {}
@media screen and (max-width: 960px) {}
@media screen and (max-width: 760px) {}
@media screen and (max-width: 640px) {}
@media screen and (min-width: 421px) {}
@media screen and (max-width: 420px) {}
@media screen and (max-width: 320px) {}
<!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>HTTP Request MDR</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!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>HTTP Request MDR</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
process.stdin.resume()
process.stdin.setEncoding('utf8')
// console.log('What\'s your name ? ')
// process.stdin.on('data', (text) => {
// console.log('Hello ' + text)
// process.exit()
// })
var age = console.log("How old are you ?");
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>MDR JS</title>
</head>
<body>
<p> Hahah ! Petit test de script JS ! <br>
<strong>Réponds au prompt si t'es cho patate !</strong></p>
<!DOCTYPE html>
<html>
<head>
<title>Au secours, on commence Javascript !</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<h1>Hello, world!</h1>
<script src="http://code.jquery.com/jquery.js"></script>
body {
background-color: yellow;
}
Début algorithme PSEUDO_CODE
Variables age, anneedenaissance : ENTIER
Ecrire "Entrez votre âge en chiffres"
Lire la valeur de l'âge dans la variable age - Age <- Valeur de l’âge
Soustraire le nombre de l'année en cours à celui de l'âge.
Lire la valeur dans la variable anneedenaissance. - Annee de naissance <- Valeur de la soustraction
Ecrire "Vous êtes né(e) en [#anneedenaissance] !"
Début algorithme PSEUDO_CODE
Afficher "Entrez votre âge en chiffres"
Stocker la valeur de l'âge dans la variable age.
Soustraire le nombre de l'année en cours à celui de l'âge.
Stocker la valeur dans la variable anneedenaissance.
Retourner "Vous êtes né(e) en [#anneedenaissance] !"
Fin algorithme PSEUDO_CODE
<!DOCTYPE html>
<html>
<head>
<title>Au secours, on commence Javascript !</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<h1>Hello, world!</h1>
<script src="http://code.jquery.com/jquery.js"></script>