Botones de abrir y cerrar
Lección 3 de 13 del curso Barra lateral | Proyecto Front-end de Coddy.
Desafío
Fácil1. Debajo del botón 'Open', crea un div con el id y la clase - 'sidebar'.
2. Dentro de 'sidebar' crea un botón con el ID 'closeSidebarBtn' y el texto 'Close'.
Pruébalo tú mismo
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
<title>Sidebar</title>
</head>
<body>
<button id="openSidebarBtn">Open</button>
<!-- Write HTML code here -->
<script src="script.js"></script>
</body>
</html>Todas las lecciones de Barra lateral | Proyecto Front-end
1Introducción
¿Qué vas a construir?2Escribir HTML
Título y cuerpoBotones de abrir y cerrar