Spaces:
Running
Running
Commit History
-
Dans app.js :
Verified signatureVa tout en bas Supprime TOUT à partir de <!doctype html> (donc tout le HTML qui suit) Ton fichier doit finir comme ça (et rien après) : $("#btnDesktop").addEventListener("click", () => { $("#btnDesktop").setAttribute("aria-pressed","true"); $("#btnMobile").setAttribute("aria-pressed","false"); $("#modeStatus").textContent = "Mode : Preview"; showToast("Desktop ✅"); }); $("#btnMobile").addEventListener("click", () => { $("#btnDesktop").setAttribute("aria-pressed","false"); $("#btnMobile").setAttribute("aria-pressed","true"); $("#modeStatus").textContent = "Mode : Preview (mobile)"; showToast("Mobile ✅"); }); ✅ Correction 2 (très important) — tu as 2 versions de index.html Dans ton texte, on voit un index.html “simple” puis un autre index.html avec Feather/Tailwind pasted + pasted ➡️ Choisis UNE seule version et garde-la, sinon tu vas t’embrouiller. Je te conseille la version Feather (plus jolie), mais propre : Garde seulement 1 script Feather (tu en as 2 :…ae793e3 -
<!doctype html>
Verified signature<html lang="fr"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1" /> <title>Espace Codage</title> <link rel="stylesheet" href="./styles.css" /> </head> <body> <div class="app"> <!-- COLONNE 1 : Sidebar --> <aside class="sidebar"> <div class="brand"> <span class="dot"></span> <span class="brand-title">Espace Codage</span> </div> <div class="searchbox"> <button class="icon-btn" title="Nouveau"> ✎ </button> <input type="text" placeholder="Rechercher..." /> </div> <div class="section-title">PROJETS</div> <button class="nav-item active">Espace Codage - Projet 1</button> <button class="nav-item">Espace Codage - Projet 2</button> <div class="section-title">RACCOURCIS</div> <button class="nav-item">Bibliothèque</button> <button class="nav-item">Paramètres</button> <div class="footer-left"> <span clas…6e8f694 -
initial commit
Verified signatureebf6f5e