Files
esercizi-web/javascript/JS_Esercizi 08 - DOM+/02_card_profilo/index.html
2026-02-06 21:25:37 +01:00

35 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Creazione Utente</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<a href="../index.html" style="position: absolute; top: 20px; left: 20px; text-decoration: none; color: #555; font-weight: bold; font-size: 14px;">← Dashboard</a>
<form id="profile-form" class="profile-form">
<h1>Crea un utente</h1>
<div class="form-group">
<label for="nome">Nome Completo:</label>
<input type="text" id="nome" required>
</div>
<div class="form-group">
<label for="eta">Età:</label>
<input type="number" id="eta" required>
</div>
<div class="form-group">
<label for="bio">Biografia:</label>
<textarea id="bio" rows="4" required></textarea>
</div>
<button id="btn-crea-card">Crea Profilo</button>
</form>
<ul class="all-cards" id="cards-container">
<!-- Le card create appariranno qui -->
</ul>
<script src="script.js"></script>
</body>
</html>