first comit
This commit is contained in:
63
index.html
Normal file
63
index.html
Normal file
@@ -0,0 +1,63 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>TP JavaScript - Partie 5 - Manipulation du DOM - Exercices 30 à 36</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
background-color: #f4f4f4;
|
||||
color: #333;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
margin: 0;
|
||||
}
|
||||
.container {
|
||||
background-color: white;
|
||||
padding: 2rem;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
||||
text-align: center;
|
||||
}
|
||||
button {
|
||||
padding: 0.5rem 1rem;
|
||||
font-size: 1rem;
|
||||
cursor: pointer;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
input {
|
||||
padding: 0.5rem;
|
||||
font-size: 1rem;
|
||||
margin-top: 1rem;
|
||||
display: block;
|
||||
width: calc(100% - 1rem);
|
||||
}
|
||||
ul {
|
||||
list-style-position: inside;
|
||||
text-align: left;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<main class="container">
|
||||
<h1 id="titre-principal">Regardez la console !</h1>
|
||||
|
||||
<p class="paragraphe">Un paragraphe pour les exercices.</p>
|
||||
|
||||
<button id="mon-bouton">Cliquez-moi !</button>
|
||||
<input type="text" id="champ-texte" placeholder="Écrivez quelque chose...">
|
||||
|
||||
<ul id="ma-liste">
|
||||
<li>Premier élément</li>
|
||||
</ul>
|
||||
</main>
|
||||
|
||||
<script src="./exercices/30-dom-selection-id.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user