rinomina esercizi js
This commit is contained in:
39
javascript/11_API/03_utente_e_post/index.html
Normal file
39
javascript/11_API/03_utente_e_post/index.html
Normal file
@@ -0,0 +1,39 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="it">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Esercizio 3 - Utente + Post</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;">← Dashboard</a>
|
||||
|
||||
<div class="app-container">
|
||||
<h1>📝 Utente + Post</h1>
|
||||
<p class="subtitle">Fetch multipli e relazioni dati</p>
|
||||
|
||||
<!-- SEZIONE CONFIGURAZIONE -->
|
||||
<div class="config-box">
|
||||
<label for="userId">ID Utente (1-40):</label>
|
||||
<div class="input-group">
|
||||
<input type="number" id="userId" min="1" max="40" value="1">
|
||||
<button id="btnFetch">Carica</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- LOADING -->
|
||||
<div id="loading" class="loading nascosto">
|
||||
⏳ Caricamento...
|
||||
</div>
|
||||
|
||||
<!-- PROFILO UTENTE -->
|
||||
<div id="userProfile" class="user-profile"></div>
|
||||
|
||||
<!-- POST -->
|
||||
<div id="postsContainer" class="posts-container"></div>
|
||||
</div>
|
||||
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user