auto(wevia-generate) doctrine193 job=gen-20260424-161752 | prompt=HTML simple hello world avec un titre h1 teal et bouton qui affiche la date
Some checks failed
WEVAL NonReg / nonreg (push) Has been cancelled
Some checks failed
WEVAL NonReg / nonreg (push) Has been cancelled
This commit is contained in:
36
generated/wevia-gen-gen-20260424-161752-0.html
Normal file
36
generated/wevia-gen-gen-20260424-161752-0.html
Normal file
@@ -0,0 +1,36 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Bonjour WEVAL</title>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/3.0.7/tailwind.min.css">
|
||||
<style>
|
||||
body {
|
||||
background-color: #0a0e1a;
|
||||
color: #00e5a0;
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
}
|
||||
h1 {
|
||||
color: #00e5a0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="text-3xl font-bold mb-4">Bonjour WEVAL</h1>
|
||||
<button class="bg-yellow-400 hover:bg-yellow-500 text-white font-bold py-2 px-4 rounded" onclick="afficherDate()">Afficher la date</button>
|
||||
<script>
|
||||
function afficherDate() {
|
||||
const date = new Date();
|
||||
const jour = date.getDate();
|
||||
const mois = date.getMonth() + 1;
|
||||
const annee = date.getFullYear();
|
||||
const heure = date.getHours();
|
||||
const minute = date.getMinutes();
|
||||
const seconde = date.getSeconds();
|
||||
const dateAffichee = `${jour}/${mois}/${annee} ${heure}:${minute}:${seconde}`;
|
||||
alert(dateAffichee);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user