Simplified JavaScript for Very Important Programmers
Simplified JavaScript for Very Important Programmers
The Fast Track to Mastering Essential JavaScript Concepts
About the Book
"Simplified JavaScript for Very Important Programmers" is a practical guide for everyone who wants to master the essential parts of JavaScript without wasting time on convoluted explanations or struggling to make sense of ambiguous words. The book is packed with real-world examples and clear, concise language that breaks technical concepts into easy-to-understand chunks.
Whether you're a student, an entrepreneur, or simply someone interested in programming, this book will guide you through every aspect of JavaScript you need to become a proficient programmer. The book covers all the fundamentals of JavaScript, including variables, data types, operators, control structures, functions, objects, and arrays. You'll also learn advanced topics like asynchronous programming, browser storage, and DOM manipulation.
By following the step-by-step examples and exercises in this book, you'll gain a solid understanding of JavaScript and build practical skills that you can apply to your projects.
If you're looking for a practical and enjoyable way to learn JavaScript, this is the perfect book for you.
Table of Contents
- Introduction
- What is JavaScript and How Does it Work?
- How Does JavaScript Work?
- History of JavaScript
- Differences Between JavaScript and HTML/CSS
- Uses of JavaScript across multiple fields
- How to write and run JavaScript code
- Using a web browser
- Using an online code editor
- Using an offline code editor
- JavaScript syntax and Data types
- Syntax
- Data Types
- Comments in JavaScript
- Basic conditional statements (If-else)
- Variables in JavaScript
- Introduction
- Variable declaration and assignment
- Variable naming rules and conventions
- Basic JavaScript operators
- Arithmetic operators
- The Concatenation operator
- Assignment operators
- Comparison operators
- Logical operators
- Functions
- How to define functions in JavaScript
- The return keyword
- Function Parameters vs Arguments
- More on the return statement
- Anonymous functions
- Multi-line return statements
- Arrow Functions
- Functions best practices
- JavaScript String Methods
- JS Math functions
- Arrays
- Declaring and Initializing Arrays
- Accessing and modifying Array Elements
- Array Length
- Array Methods
- Higher Order Functions (HOFs) and Callbacks
- Creating Higher-order functions
- Built-in HOFs and Array Methods
- The JavaScript Timing methods
- JavaScript Objects
- Rules and Guidelines for creating objects
- Adding, modifying and Removing Properties
- Object.prototype
- Object methods
- Object destructuring
- Conditional Statements
- Else-if statements in JavaScript
- Nested if statements
- The Switch statement
- The ternary operator
- Loops
- The
for
Loop
- The
for...in
loop
- The
for...of
loop
- The
while
Loop
- The
do...while
Loop
- The
- The Document Object Model (DOM)
- Accessing the DOM
- Modifying DOM Elements
- Removing elements from the DOM
- Traversing the DOM
- Conclusion
- How to include JavaScript in an HTML file
- Writing JavaScript in the HTML file (inline JavaScript)
- Creating a separate JavaScript file (external JavaScript)
- Conclusion
- Browser Events
- Event Object Properties and Methods
- Browser Event types and listeners
- Keyboard Events
- Form Events
- Window Events
- Browser Storage
- Cookies
- LocalStorage and SessionStorage
- Building A Todo List App with JavaScript
- Using HTML to structure our app
- Using JavaScript to add functionality to our app
- Rendering saved tasks to the browser
- Adding tasks to the list
- Marking tasks as complete
- Removing Tasks
- Conclusion
- Asynchronous JavaScript
- What is Asynchronous JavaScript?
- Promises
- Promise Methods
- Making HTTP Requests with Promises and the Fetch API
- Async/Await
- Working with Date and Time
- Creating a Date Object
- Getting the Date and Time Components
- Setting the Date and Time Components
- Formatting Dates and Times
- Final Thoughts
Other books by this author
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them