feat: refactor book data structure and add rendering function

This commit is contained in:
2026-06-01 21:12:42 -03:00
parent 7bd10addd8
commit e7b1fcd74b
2 changed files with 35 additions and 12 deletions

View File

@@ -9,7 +9,7 @@
<body>
<h1>Lista de libros</h1>
<div id="busqueda">
<input type="text" placeholder="Buscar por título o autor">
<input type="text" id="searchBar"placeholder="Buscar por título o autor">
</div>
<div id="listado_libros">
<table>
@@ -31,6 +31,6 @@
<p id="error"></p>
<button type="button" id="boton-agregar">Agregar libro</button>
</div>
<script src="script.js"></script>
</body>
<script src="script.js"></script>
</html>