funky-framadate-front/public/dates.html

52 lines
1.2 KiB
HTML
Raw Normal View History

<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="referrer" content="same-origin">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Framadate</title>
<meta name="description" content=" ">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link crossorigin="anonymous" rel="stylesheet" href="https://rawgit.com/twbs/bootstrap/v4-dev/dist/css/bootstrap-reboot.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<section>
<em>Ici un calendier</em>
</section>
<section>
<p>Je /VEUX/NE VEUX PAS/ ajouter des horaires /IDENTIQUES/DIFFÉRENTS/ pour chaque jour</p>
</section>
<section>
<h1>Mes dates</h1>
</section>
<nav>
<a href="recapitulatif.html" class="btn">Continuer</a>
</nav>
<script>
window.onload = () => {
console.log("truc");
var monStockage = localStorage;
console.log("key ? storage : ", localStorage.type_sondage);
document.querySelector('#type_sondage').addEventListener('change', function() {
localStorage.setItem('type_sondage', this.options[this.selectedIndex].text);
})
}
</script>
</body>
</html>