An Introduction to Programming in JavaScript: Stomping Zombies with Variables, Loops, Functions and More: Undead Institute, #10
By John Rhea
()
About this ebook
Start taking down the zombie horde with rapid fire web development programs. This book introduces you to JavaScript and a wide variety of beginner programming topics like variables, conditional statements, loops and functions.
You'll understand the different types of variables available to you and how to create and utilize them for maximum damage to the undead.
We'll discuss conditional statements (if/then statements) and talk about how to execute different code depending on whether something is true or not such as "There's a zombie gnawing on your head!"
We'll loop-dee-loop around the horde as we define and demonstrate the three kinds of JavaScript loops.
And finally, using functions and reusable code, we'll land sucker punch after sucker punch after sucker punch on every zombie shuffling toward you.
While this book presents these concepts using JavaScript syntax and information, nearly all of the concepts are universal to programming languages everywhere.
So come along for a jaunt through the apocalypse and stock your armory with plenty of programming tools and JavaScript finery. Next stop ending the apocalypse!
How You'll Learn to Smack Zombies Around
You won't just passively take in the view, like a zombie shuffling across the mainland. You'll have plenty of combat practice with analogies, examples, and code tutorials you can build, break and fix again. Working with your hands and your head you'll craft code that pleases the eye and knocks a zombie into last Tuesday.
All the code and directions are provided as both codepen tutorials and downloadable html files, so you can fight the apocalypse how and where you like. You can work with them on the codepen site or on your own device.
And later you'll bring those skills together in a final project that cements those skills into zombie smashing muscle memory.
Why Zombies?
Are zombies just a gimmick? Why would this be any better than a straight laced book that sticks to the facts?
Straight laced books are often straight boring. And if you have insomnia problems go buy that book. The author, John, has read the boring books and knows that staying awake and engaged are also important for learning. But this book uses zombie references and analogies not just to make you smile, but to help the material stick. If a tough technical concept is related in silly terms you understand, like a zombie trying to buy gum at a super market, it's much more likely to stay in that brain those zombies are intent on eating.
Other titles in An Introduction to Programming in JavaScript Series (24)
A Beginner’s Guide to Learning HTML (and Smacking Zombies Upside the Web Development): Undead Institute, #1 Rating: 0 out of 5 stars0 ratingsBeginner CSS: Like Putting Lipstick on a Zombie: Undead Institute, #2 Rating: 0 out of 5 stars0 ratingsBuild Your First Website (And Thwack Zombies with HTML and CSS): Undead Institute, #0 Rating: 0 out of 5 stars0 ratingsExpand Your First Website: Thwacking Zombies With HTML & CSS Again: Undead Institute, #3 Rating: 0 out of 5 stars0 ratingsBeginner Usability: A Novice's Guide to Zombie Proofing Your Website: Undead Institute, #4 Rating: 0 out of 5 stars0 ratingsIntermediate CSS: Zombie in a Cocktail Dress: Undead Institute, #7 Rating: 0 out of 5 stars0 ratingsPFC Wiggins's Unofficial Commissary: An Undead Institute HTML & CSS Workbook: Undead Institute, #6.5 Rating: 0 out of 5 stars0 ratingsHTML Forms & Interactive Elements: Or How to Poke a Zombie in the Eye: Undead Institute, #5 Rating: 0 out of 5 stars0 ratingsResponsive Design: An Undead Introduction to Mobile Web Development: Undead Institute, #8 Rating: 0 out of 5 stars0 ratingsEven Further Expand Your First Website (And Thwack those Zombies Into the Next Apocalypse with HTML and CSS): Undead Institute, #9 Rating: 0 out of 5 stars0 ratingsProfessor Blusterhiny's Zombish 101: An Undead Institute HTML & CSS Workbook: Undead Institute, #6.6 Rating: 0 out of 5 stars0 ratingsFurther Expand Your First Website: Undead Institute, #6 Rating: 0 out of 5 stars0 ratingsModern CSS Layout: Decking Zombies with Style: Undead Institute, #9 Rating: 0 out of 5 stars0 ratingsMore Advanced CSS: Zombie in a Ballgown: Undead Institute Rating: 0 out of 5 stars0 ratingsAn Introduction to Programming in PHP: Stomping Zombies with Variables, Loops, Functions and More: Undead Institute, #14 Rating: 0 out of 5 stars0 ratingsAn Introduction to Programming in JavaScript: Stomping Zombies with Variables, Loops, Functions and More: Undead Institute, #10 Rating: 0 out of 5 stars0 ratingsSearch Engine Optimization: How to Make your Site Stand Out from the Apocalyptic Horde: Undead Institute, #13 Rating: 0 out of 5 stars0 ratingsAn Introduction to Website Performance: How to Outrun the Zombie Hordes: Undead Institute, #15 Rating: 0 out of 5 stars0 ratingsScalable Vector Graphics: How to Draw Zombie-Smashing Images with Code: Undead Institute, #17 Rating: 0 out of 5 stars0 ratingsThe Apocalyptic HTML Arsenal: An Undead Institute HTML Reference Dictionary: Undead Institute Rating: 0 out of 5 stars0 ratingsHumanity's Second Chance: Interactive HTML, Intermediate CSS and Responsive Design (Virtual Boxed Set): Undead Institute Rating: 0 out of 5 stars0 ratingsCSS Animation: De-animating the Undead Horde: Undead Institute Rating: 0 out of 5 stars0 ratingsMy First Webpocalypse: Beginner HTML, CSS, and Usability (Virtual Boxed Set): Undead Institute Rating: 0 out of 5 stars0 ratingsJavaScript Basics: Flinging Event, Element, and Object Bombs at Zombie Heads: Undead Institute Rating: 0 out of 5 stars0 ratings
Read more from John Rhea
101 Terrible Zombie Jokes: Plus 13 That Might Actually be Funny Rating: 5 out of 5 stars5/5
Related to An Introduction to Programming in JavaScript
Titles in the series (24)
A Beginner’s Guide to Learning HTML (and Smacking Zombies Upside the Web Development): Undead Institute, #1 Rating: 0 out of 5 stars0 ratingsBeginner CSS: Like Putting Lipstick on a Zombie: Undead Institute, #2 Rating: 0 out of 5 stars0 ratingsBuild Your First Website (And Thwack Zombies with HTML and CSS): Undead Institute, #0 Rating: 0 out of 5 stars0 ratingsExpand Your First Website: Thwacking Zombies With HTML & CSS Again: Undead Institute, #3 Rating: 0 out of 5 stars0 ratingsBeginner Usability: A Novice's Guide to Zombie Proofing Your Website: Undead Institute, #4 Rating: 0 out of 5 stars0 ratingsIntermediate CSS: Zombie in a Cocktail Dress: Undead Institute, #7 Rating: 0 out of 5 stars0 ratingsPFC Wiggins's Unofficial Commissary: An Undead Institute HTML & CSS Workbook: Undead Institute, #6.5 Rating: 0 out of 5 stars0 ratingsHTML Forms & Interactive Elements: Or How to Poke a Zombie in the Eye: Undead Institute, #5 Rating: 0 out of 5 stars0 ratingsResponsive Design: An Undead Introduction to Mobile Web Development: Undead Institute, #8 Rating: 0 out of 5 stars0 ratingsEven Further Expand Your First Website (And Thwack those Zombies Into the Next Apocalypse with HTML and CSS): Undead Institute, #9 Rating: 0 out of 5 stars0 ratingsProfessor Blusterhiny's Zombish 101: An Undead Institute HTML & CSS Workbook: Undead Institute, #6.6 Rating: 0 out of 5 stars0 ratingsFurther Expand Your First Website: Undead Institute, #6 Rating: 0 out of 5 stars0 ratingsModern CSS Layout: Decking Zombies with Style: Undead Institute, #9 Rating: 0 out of 5 stars0 ratingsMore Advanced CSS: Zombie in a Ballgown: Undead Institute Rating: 0 out of 5 stars0 ratingsAn Introduction to Programming in PHP: Stomping Zombies with Variables, Loops, Functions and More: Undead Institute, #14 Rating: 0 out of 5 stars0 ratingsAn Introduction to Programming in JavaScript: Stomping Zombies with Variables, Loops, Functions and More: Undead Institute, #10 Rating: 0 out of 5 stars0 ratingsSearch Engine Optimization: How to Make your Site Stand Out from the Apocalyptic Horde: Undead Institute, #13 Rating: 0 out of 5 stars0 ratingsAn Introduction to Website Performance: How to Outrun the Zombie Hordes: Undead Institute, #15 Rating: 0 out of 5 stars0 ratingsScalable Vector Graphics: How to Draw Zombie-Smashing Images with Code: Undead Institute, #17 Rating: 0 out of 5 stars0 ratingsThe Apocalyptic HTML Arsenal: An Undead Institute HTML Reference Dictionary: Undead Institute Rating: 0 out of 5 stars0 ratingsHumanity's Second Chance: Interactive HTML, Intermediate CSS and Responsive Design (Virtual Boxed Set): Undead Institute Rating: 0 out of 5 stars0 ratingsCSS Animation: De-animating the Undead Horde: Undead Institute Rating: 0 out of 5 stars0 ratingsMy First Webpocalypse: Beginner HTML, CSS, and Usability (Virtual Boxed Set): Undead Institute Rating: 0 out of 5 stars0 ratingsJavaScript Basics: Flinging Event, Element, and Object Bombs at Zombie Heads: Undead Institute Rating: 0 out of 5 stars0 ratings
Related ebooks
Intermediate CSS: Zombie in a Cocktail Dress: Undead Institute, #7 Rating: 0 out of 5 stars0 ratingsCSS Animation: De-animating the Undead Horde: Undead Institute Rating: 0 out of 5 stars0 ratingsHTML Forms & Interactive Elements: Or How to Poke a Zombie in the Eye: Undead Institute, #5 Rating: 0 out of 5 stars0 ratingsJavaScript: Beginner's Guide to Programming Code with JavaScript Rating: 5 out of 5 stars5/5Mastering JavaScript Rating: 4 out of 5 stars4/5jQuery Game Development Essentials Rating: 0 out of 5 stars0 ratingsA Beginner’s Guide to Learning HTML (and Smacking Zombies Upside the Web Development): Undead Institute, #1 Rating: 0 out of 5 stars0 ratingsPFC Wiggins's Unofficial Commissary: An Undead Institute HTML & CSS Workbook: Undead Institute, #6.5 Rating: 0 out of 5 stars0 ratingsModern CSS Layout: Decking Zombies with Style: Undead Institute, #9 Rating: 0 out of 5 stars0 ratingsHTML 5 Shoot 'em Up in an Afternoon Rating: 0 out of 5 stars0 ratingsJavaScript Basics: Flinging Event, Element, and Object Bombs at Zombie Heads: Undead Institute Rating: 0 out of 5 stars0 ratingsMastering jQuery UI Rating: 0 out of 5 stars0 ratingsThe Javascript Adventure Rating: 0 out of 5 stars0 ratingsLearn Programming by Coding Like a Professional: Create Games, Apps, & Programs Rating: 0 out of 5 stars0 ratingsResponsive Design: An Undead Introduction to Mobile Web Development: Undead Institute, #8 Rating: 0 out of 5 stars0 ratingsHow JavaScript Works Rating: 0 out of 5 stars0 ratingsLearn JavaScript in 24 Hours Rating: 3 out of 5 stars3/5JavaScript and AJAX For Dummies Rating: 4 out of 5 stars4/5Learn Javascript In 1 Hour Rating: 0 out of 5 stars0 ratingsWeb Design Blueprints Rating: 0 out of 5 stars0 ratingsMore Advanced CSS: Zombie in a Ballgown: Undead Institute Rating: 0 out of 5 stars0 ratingsMastering HTML5 Forms Rating: 1 out of 5 stars1/5Introduction to PHP Rating: 3 out of 5 stars3/5Beginner CSS: Like Putting Lipstick on a Zombie: Undead Institute, #2 Rating: 0 out of 5 stars0 ratingsLearning jQuery Rating: 4 out of 5 stars4/5Beginning CSS: Cascading Style Sheets for Web Design Rating: 4 out of 5 stars4/5Responsive Web Design with HTML5 and CSS3 Rating: 4 out of 5 stars4/5Mastering Responsive Web Design with HTML5 and CSS3 Rating: 0 out of 5 stars0 ratings
Internet & Web For You
Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5Python: Learn Python in 24 Hours Rating: 4 out of 5 stars4/5Coding For Dummies Rating: 5 out of 5 stars5/5How to Be Invisible: Protect Your Home, Your Children, Your Assets, and Your Life Rating: 4 out of 5 stars4/5How to Disappear and Live Off the Grid: A CIA Insider's Guide Rating: 0 out of 5 stars0 ratingsWeb Design For Dummies Rating: 4 out of 5 stars4/5More Porn - Faster!: 50 Tips & Tools for Faster and More Efficient Porn Browsing Rating: 3 out of 5 stars3/5The $1,000,000 Web Designer Guide: A Practical Guide for Wealth and Freedom as an Online Freelancer Rating: 4 out of 5 stars4/5The Digital Marketing Handbook: A Step-By-Step Guide to Creating Websites That Sell Rating: 5 out of 5 stars5/5Introduction to Internet Scams and Fraud: Credit Card Theft, Work-At-Home Scams and Lottery Scams Rating: 4 out of 5 stars4/5Social Engineering: The Science of Human Hacking Rating: 3 out of 5 stars3/5No Place to Hide: Edward Snowden, the NSA, and the U.S. Surveillance State Rating: 4 out of 5 stars4/5Kill All Normies: Online Culture Wars From 4Chan And Tumblr To Trump And The Alt-Right Rating: 3 out of 5 stars3/5Cybersecurity For Dummies Rating: 5 out of 5 stars5/5JavaScript All-in-One For Dummies Rating: 5 out of 5 stars5/5Everybody Lies: Big Data, New Data, and What the Internet Can Tell Us About Who We Really Are Rating: 4 out of 5 stars4/5The Hacker Crackdown: Law and Disorder on the Electronic Frontier Rating: 4 out of 5 stars4/5Lying and Lie Detection: A CIA Insider's Guide Rating: 0 out of 5 stars0 ratingsThe Gothic Novel Collection Rating: 5 out of 5 stars5/5Beginner's Guide To Starting An Etsy Print-On-Demand Shop Rating: 0 out of 5 stars0 ratingsSurveillance and Surveillance Detection: A CIA Insider's Guide Rating: 3 out of 5 stars3/5Character Limit: How Elon Musk Destroyed Twitter Rating: 4 out of 5 stars4/5How To Make Money Blogging: How I Replaced My Day-Job With My Blog and How You Can Start A Blog Today Rating: 4 out of 5 stars4/5Notion for Beginners: Notion for Work, Play, and Productivity Rating: 4 out of 5 stars4/5Tor and the Dark Art of Anonymity Rating: 5 out of 5 stars5/5
Reviews for An Introduction to Programming in JavaScript
0 ratings0 reviews
Book preview
An Introduction to Programming in JavaScript - John Rhea
Contents
Cover
Front Matter
Copyright
You Know What Else Kills Zombies?
Four Word
Content Warning (for Silliness)
Get a Free Zombie HTML Cheat Sheet
Title Page
Hello Human Resistance Cell
Buckets and Buckets of Zombie Guts
Buckets of Type Z
Variable Bucket Contents
Undead Output
Math after the Apocalypse
Logically Challenged Zombies
Getting Loopy with Zombies
Zombie Sniper and Variable Scopes
An Array of Apocalyptic Outcomes
Functional Apocalypse
Punch Those Zombies in the Array
Got Questions?
About the Author
Copyright 2020 by John Rhea. This book is licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
Distributed by the Undead Institute a division of StoryLab LLC
This book made possible by a generous grant from Grant for the Web.
You Know What Else Kills Zombies?
Honest feedback. Enjoyed the book? Found an error or an omission? Still confused about something? Want to complement the author’s sense of humor (or lack thereof)? Email John directly at [email protected]
Find More Zombified Web Development at
https://undead.institute
Four Word
Stop those zombie cowboys!
Content Warning
(for Silliness)
This book contains a large amount of information, zombies, silliness, and a sense of humor that some would call terrible
. If you’re looking for straight technical information or a cure to your insomnia, this is not the book for you.
If you’re looking for a book that’s accessible to those without technical training or inclination and/or don’t mind laughing a bit while you’re learning, this book is for you. We at the Undead Institute believe that getting braaains should be fun. Join us and let’s stop those smelly zombies once and for all! (No, seriously. Their breath is terrible.)
Get a Free Apocalyptic JavaScript-ic Cheat Sheet
When you sign up for Webpocalypse Weekly, our email newsletter. This printable cheat sheet covers JavaScript loops, variable, conditionals and functions. Write JavaScript easily with your very own Apocalyptic Javascript-ic Cheat Sheet
https://undd.link/intro2js
An Introduction to Programming in JavaScript:
Stomping Zombies with Variables, Loops, Functions and More
by John Rhea
Published by The Undead Institute
Hello Human Resistance Cell
JavaScript differs from other front-end web languages, such as HTML and CSS. It’s much more programmatic and uses logic and