-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e4e841
commit 1f87b8f
Showing
8 changed files
with
242 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
console.log("Hello World"); | ||
// scripts.js | ||
document.addEventListener('DOMContentLoaded', function() { | ||
const form = document.querySelector('form'); | ||
form.addEventListener('submit', function(event) { | ||
event.preventDefault(); | ||
alert('Form submitted successfully!'); | ||
}); | ||
}); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,108 @@ | ||
<!DOCTYPE html> | ||
<!-- something important is missing in the html tag.... what is it? --> | ||
<html lang="en"> | ||
<html lang="fr"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Hello World</title> | ||
<title>Cookie the Rabbit</title> | ||
<link rel="stylesheet" href="style.css"> | ||
</head> | ||
<body> | ||
<h1>Hello World</h1> | ||
<header> | ||
<h1>Cookie</h1> | ||
<nav> | ||
<ul> | ||
<li><a href="#accueil">Accueil</a></li> | ||
<li><a href="#veterinaires">Vétérinaires</a></li> | ||
<li><a href="#jouets">Jouets</a></li> | ||
<li><a href="#conseils">Nos Conseils</a></li> | ||
</ul> | ||
<select id="language-picker"> | ||
<option value="fr">Français</option> | ||
<option value="en">English</option> | ||
<option value="zh">中文</option> | ||
</select> | ||
</nav> | ||
</header> | ||
<section id="accueil"> | ||
<h2 class="section-title a-propos">À propos</h2> | ||
<div class="profile"> | ||
<img src="assets/cookie_profile_picture.jpg" alt="Cookie" class="profile-pic"> | ||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> | ||
</div> | ||
</section> | ||
<section id="voyages"> | ||
<h2 class="section-title voyages">Voyages</h2> | ||
<div class="carousel"> | ||
<div class="voyage card"> | ||
<img src="assets/asset_mexique.jpg" alt="Voyage au Mexique"> | ||
<p aria-hidden="true">⭐⭐⭐⭐⭐</p> | ||
<p class="sr-only">5 étoiles</p> | ||
<h3>Mexique</h3> | ||
<p>The trip was awesome lorem ipsum bla bla bla bla</p> | ||
<a href="https://en.wikipedia.org/wiki/Travel">Read more</a> | ||
</div> | ||
<div class="voyage card"> | ||
<img src="assets/asset_usa.jpg" alt="Voyage aux USA"> | ||
<p aria-hidden="true">⭐⭐⭐⭐</p> | ||
<p class="sr-only">4 étoiles</p> | ||
<h3>United States</h3> | ||
<p>The trip was awesome lorem ipsum bla bla bla bla</p> | ||
<a href="https://en.wikipedia.org/wiki/Travel">Read more</a> | ||
</div> | ||
<div class="voyage card"> | ||
<img src="assets/asset_espagne.jpg" alt="Voyage en Espagne"> | ||
<p aria-hidden="true">⭐⭐⭐⭐⭐</p> | ||
<p class="sr-only">5 étoiles</p> | ||
<h3>Espagne</h3> | ||
<p>The trip was awesome lorem ipsum bla bla bla bla</p> | ||
<a href="https://en.wikipedia.org/wiki/Travel">Read more</a> | ||
</div> | ||
<div class="voyage card"> | ||
<img src="assets/asset_tahiti.jpg" alt="Voyage à Tahiti"> | ||
<p aria-hidden="true">⭐⭐⭐⭐⭐</p> | ||
<p class="sr-only">5 étoiles</p> | ||
<h3>Tahiti</h3> | ||
<p>The trip was awesome lorem ipsum bla bla bla bla</p> | ||
<a href="https://en.wikipedia.org/wiki/Travel">Read more</a> | ||
</div> | ||
</div> | ||
</section> | ||
<section id="reseaux"> | ||
<h2 class="section-title reseaux">Réseaux</h2> | ||
<p> | ||
<a href="https://instagram.com/cookiethefluffyrabbit">Instagram</a> | | ||
<a href="https://youtube.com/cookiethefluffyrabbit">YouTube</a> | | ||
<a href="https://linkedin.com/cookie_business">LinkedIn</a> | ||
</p> | ||
</section> | ||
<section id="contact"> | ||
<h2 class="section-title contact">Contact</h2> | ||
<form> | ||
<div class="form-group"> | ||
<label for="email">Email:</label> | ||
<input type="email" id="email" name="email" required> | ||
</div> | ||
<div class="form-group"> | ||
<label for="telephone">Téléphone:</label> | ||
<input type="tel" id="telephone" name="telephone" required> | ||
</div> | ||
<div class="form-group"> | ||
<label for="pays">Pays:</label> | ||
<select id="pays" name="pays" required> | ||
<option value="france">France</option> | ||
<option value="other">Other</option> | ||
</select> | ||
</div> | ||
<div class="form-group"> | ||
<label>Avez-vous un lapin?</label> | ||
<input type="radio" id="oui" name="hasRabbit" value="oui" required> | ||
<label for="oui">Oui</label> | ||
<input type="radio" id="non" name="hasRabbit" value="non" required> | ||
<label for="non">Non</label> | ||
</div> | ||
<button type="submit">Submit</button> | ||
</form> | ||
</section> | ||
<script src="app.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