JavaScript, ¡Inspírate!
JavaScript, ¡Inspírate!
Sobre este libro
Un libro de programación sencillo y divertido que nos muestra como programar en JavaScript desde cero.
Mi idea, es empezar desde cero y hacer un viaje juntos desde los abismos profundos de la duda, pasando por el pseudocódigo hasta llegar al maravilloso mundo de las peticiones AJAX. Haremos muchas paradas en el camino, en las que aprenderemos todo lo que necesitas para empezar tu aventura como desarrollador Front-End con sólidas bases en JavaScript.
¿Qué necesito saber antes de empezar?
No es necesario que tengas experiencia programando, pero si que es importante que sepas cómo se hacen páginas web estáticas, ya que en la parte III nos centraremos en la manipulación dinámica del DOM y las llamadas AJAX.
No me extenderé mucho acerca de HTML y CSS, por lo que espero que ya tengáis cierto conocimiento adquirido.
Aunque vuestro nivel de conocimientos y experiencia sea relativamente bajo, he procurado evitar que esto sea un freno a tu aprendizaje en JavaScript.
Si tienes experiencia en otros lenguajes de programación, jugarás con ventaja al principio, pero no te confíes…
Si ya has trabajado con JQuery, aprenderás en los últimos capítulos, a hacer lo mismo pero usando solo JavaScript.
¿Qué aprenderemos?
- A pensar como un programador
- Pseudocódigo
- Trabajar fluidamente con funciones
- Dominar las bases de JavaScript (estructuras del lenguaje)
- AJAX y sus peticiones
- Manipulación dinámica del DOM
Este libro es algo vivo y por ello estará evolucionando constantemente. Recuerda que tu puedes formar parte de todo esto, aportando cambios y mejoras desde GitHub.
Reader Testimonials

José Gallego
He leído el libro varias veces y cada vez descubro cosas nuevas, contiene conceptos que desconocía por completo y que han ayudado a tener un entendimiento mas profundo de javascript. Tengo muchas ganas de ver los cambios que va sufriendo debido a que es open source y estará en constante cambio.

Jorge Muñoz
El ebook me parece que ofrece una muy buena perspectiva de Javascript dentro del ámbito de la tecnología web. Contiene información muy valiosa que continuará creciendo al ser un ebook "vivo" y colaborativo. Grande y generosa decisión. Gracias Ulises.
Table of Contents
-
Parte I - Hablemos de JavaScript
-
Introducción
- Sobre este libro
- Esto va de ser una comunidad
- ¿Qué necesito saber antes de empezar?
- ¿Qué aprenderemos?
- ¿Qué no aprenderemos?
- Importante
- Convenciones utilizadas en este libro
-
Capítulo 1 - JavaScript de hace 10 minutos
- La historia de nuestra industria
- El largo camino del Developer
- Revolución… ¡Revolución!
-
Capítulo 2 - Hola Mundo
- Un mundo de máquinas
- Pensar como un programador
- Pseudocódigo
-
Capítulo 3 - console.log(“Hola Mundo”);
- JSHint
- Consola
- Caracteres especiales:
- Comentarios
- Nombres de variables
- Tipos de variables
- Matemáticas Básicas
- Operadores de asignación
- Interacción Básica con el Usuario
-
Introducción
-
Parte II - Mecánica del lenguaje
-
Capítulo 4 - Comparadores
- Operadores de Comparación
- Operadores Lógicos
- Todo puede ser booleano
- Asignación por igualdad
- If
- If… else
- Else if…
- Switch
- Operador Ternario
-
Capítulo 5 - Bucles
- While
- For
- Do… While
- Break y Continue
- Errores comunes
- Usos Avanzados
-
Capítulo 6 - Números y fechas
- Numbers
- Math
- Dates
- Benchmark
- Setters, problema resuelto
-
Capítulo 7 - Cadenas de texto
- Propiedades
- Métodos
-
Capítulo 8 - Arrays
- Manejo
- Propiedades
- Métodos
- Métodos Avanzados
- Arrays multidimensionales
-
Capítulo 9 - Objetos
- Objetos Literales
- Manejo
- Métodos
- Métodos Avanzados
- Usos Especiales
- Estructuras de datos
-
Capítulo 10 - Funciones
- Manejo
- Argumentos y parámetros
- Retorno
- Anidación
- Ámbito (Scope)
- Funciones Anónimas
- Recursión
- Callbacks
- Asincronía
- Documentar
-
Capítulo 4 - Comparadores
-
Parte III - Web dinámica y conectada…
-
Capítulo 11 - Hackeando HTML y CSS
- BOM (Browser Object Model)
- DOM
- Alterando el DOM
- Eventos
- Propagación (Capturing y Bubbling)
-
Capítulo 12 - AJAX y más AJAX
- Entendiendo HTTP/s
- Trabajando con APIs
- Peticiones AJAX
-
Capítulo 11 - Hackeando HTML y CSS
-
Parte IV - Un pasito más…
-
Anexo: ¡Queda mucho más por aprender!
- Recursos
- Libros interesantes
- Ampliar horizontes
-
Anexo: Comunidad…
- ¡Forma parte!
- Desarrolladores que deberías seguir.
-
Anexo: ¡Queda mucho más por aprender!
Causas que se apoyan

Code Club
https://www.codeclub.org.ukA nationwide network of volunteer-led after school coding clubs for children aged 9-11.
Authors have earned$9,883,643writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.
Más información sobre cómo escribir en Leanpub
Leanpub incondicional, sin riesgo, 100% de felicidad garantizada
Durante los primeros 45 días de compra, puedes obtener un reembolso del 100% de cualquier compra Leanpub, en dos clics. Procesamos las restituciones manualmente, así que puede tomarse unos días en aparecer. Véase términos completos.
Actualizaciones gratis. Libre de DRM.
¡Si compras un libro Leanpub obtienes actualizaciones gratis siempre y cuando el autor actualice el libro! Varios autores usan Leanpub para publicar sus libros en progreso mientras los escriben. Todos los lectores obtienen actualizaciones gratis, independientemente de cuándo compraron el libro o cuánto pagaron (incluyendo si fue gratis).
La mayoría de los libros Leanpub se encuentran disponibles en PDF (para computadores), EPUB (para teléfonos y tabletas) y MOBI (para Kindle). Los formatos que un libro incluye se muestran en la esquina superior derecha de esta página.
Finalmente, los libros Leanpub no tienen ninguna de las cosas sin sentido sobre protección de copia DRM, así que puedes leerlos fácilmente en cualquier dispositivo que se soporta.
Aprende más sobre los formatos de Leanpub y dónde puedes leerlos
Top Books
C++ Best Practices
Jason TurnerLevel up your C++, get the tools working for you, eliminate common problems, and move on to more exciting things!
OpenIntro Statistics
David Diez, Christopher Barr, Mine Cetinkaya-Rundel, and OpenIntroA complete foundation for Statistics, also serving as a foundation for Data Science.
Leanpub revenue supports OpenIntro (US-based nonprofit) so we can provide free desk copies to teachers interested in using OpenIntro Statistics in the classroom and expand the project to support free textbooks in other subjects.
More resources: openintro.org.
Functional Design and Architecture
Alexander GraninSoftware Design in Functional Programming, Design Patterns and Practices, Methodologies and Application Architectures. How to build real software in Haskell with less efforts and low risks. The first complete source of knowledge.
R Programming for Data Science
Roger D. PengThis book brings the fundamentals of R programming to you, using the same material developed as part of the industry-leading Johns Hopkins Data Science Specialization. The skills taught in this book will lay the foundation for you to begin your journey learning data science. Printed copies of this book are available through Lulu.
C++20
Rainer GrimmC++20 is the next big C++ standard after C++11. As C++11 did it, C++20 changes the way we program modern C++. This change is, in particular, due to the big four of C++20: ranges, coroutines, concepts, and modules.
I am a Software Engineer and I am in Charge
Alexis Monville and Michael DoyleI am a Software Engineer and I am in Charge is a real-world, practical book that helps you increase your impact and satisfaction at work no matter who you work with.
In the book, we will follow Sandrine, a fictional character who learns to think in a new way enabling her to take a different course of action.
Atomic Kotlin
Bruce Eckel and Svetlana IsakovaFor both beginning and experienced programmers! From the author of the multi-award-winning Thinking in C++ and Thinking in Java together with a member of the Kotlin language team comes a book that breaks the concepts into small, easy-to-digest "atoms," along with exercises supported by hints and solutions directly inside IntelliJ IDEA!
Invest In Digital Health - The Medical Futurist's Guide
Dr. Bertalan MeskoArtificial Intelligence and Digital Health are booming. In this book, we explain why now it's a good time to invest in Digital Health and give recommendations on where to invest by looking at the top 24 technological trends we find the most promising.
The Hundred-Page Machine Learning Book
Andriy BurkovEverything you really need to know in Machine Learning in a hundred pages.
Mastering STM32
Carmine NovielloWith more than 600 microcontrollers, STM32 is probably the most complete ARM Cortex-M platform on the market. This book aims to be the first guide around that introduces the reader to this exciting MCU portfolio from ST Microelectronics and its official CubeHAL.
Top Bundles
- #1
Software Architecture for Developers: Volumes 1 & 2 - Technical leadership and communication
2 Books
"Software Architecture for Developers" is a practical and pragmatic guide to modern, lightweight software architecture, specifically aimed at developers. You'll learn:The essence of software architecture.Why the software architecture role should include coding, coaching and collaboration.The things that you really need to think about before... - #2
CCIE Service Provider Ultimate Study Bundle
2 Books
Piotr Jablonski, Lukasz Bromirski, and Nick Russo have joined forces to deliver the only CCIE Service Provider training resource you'll ever need. This bundle contains a detailed and challenging collection of workbook labs, plus an extensively detailed technical reference guide. All of us have earned the CCIE Service Provider certification... - #3
The Future of Digital Health
6 Books
We put together the most popular books from The Medical Futurist to provide a clear picture about the major trends shaping the future of medicine and healthcare. Digital health technologies, artificial intelligence, the future of 20 medical specialties, big pharma, data privacy and how technology giants such as Amazon or Google want to conquer... - #4
Cisco CCNA 200-301 Complet
4 Books
Ce lot comprend les quatre volumes du guide préparation à l'examen de certification Cisco CCNA 200-301. - #5
CCDE Practical Studies (All labs)
3 Books
CCDE lab - #6
"The C++ Standard Library" and "Concurrency with Modern C++"
2 Books
Get my books "The C++ Standard Library" and "Concurrency with Modern C++" in a bundle. The first book gives you the details you should know about the C++ standard library; the second one dives deeper into concurrency with modern C++. In sum, you get more than 600 pages full of modern C++ and about 250 source files presenting the standard library... - #7
Modern Management Made Easy
3 Books
Read all three Modern Management Made Easy books. Learn to manage yourself, lead and serve others, and lead the organization. - #8
Linux Administration Complet
4 Books
Ce lot comprend les quatre volumes du Guide Linux Administration :Linux Administration, Volume 1, Administration fondamentale : Guide pratique de préparation aux examens de certification LPIC 1, Linux Essentials, RHCSA et LFCS. Administration fondamentale. Introduction à Linux. Le Shell. Traitement du texte. Arborescence de fichiers. Sécurité... - #9
Programming with Ease
3 Books
Alle drei Bände der Serie Programming with Ease in einem Paket. Darin findest du alles, was ich dir zu den wichtigsten Phasen der Softwareentwicklung im Hinblick auf Clean Code Development für langfristig hohe Produktivität sagen kann.Im Band Slicing findest du die Anforderungsanalyse im Rahmen eines iterativ-inkrementellen Vorgehensmodells aus... - #10
Vagrant Ansible
2 Books
Unveil the power of Ansible and Vagrant with this bundle at a special price. You'll have everything you need to get started with Vagrant - learn the basics and how to create your virtual development environments, using Ansible as provisioner! About Vagrant Cookbook Vagrant Cookbook is a complete guide to get started with Vagrant and create your...