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.
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 (22)
Expand Your First Website: Thwacking Zombies With HTML & CSS Again: Undead Institute, #1.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 ratingsModern CSS Layout: Decking Zombies with Style: Undead Institute, #9 Rating: 0 out of 5 stars0 ratingsFurther Expand Your First Website: Undead Institute, #1.3 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 ratingsSearch Engine Optimization: How to Make your Site Stand Out from the Apocalyptic Horde: Undead Institute, #13 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 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 ratingsBeginner CSS: Like Putting Lipstick on a Zombie: Undead Institute Rating: 0 out of 5 stars0 ratingsHTML Forms & Interactive Elements: Or How to Poke a Zombie in the Eye: Undead Institute 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 ratingsCSS Animation: De-animating the Undead Horde: Undead Institute Rating: 0 out of 5 stars0 ratingsIntermediate CSS: Zombie in a Cocktail Dress: Undead Institute Rating: 0 out of 5 stars0 ratingsBeginner Usability: A Novice's Guide to Zombie Proofing Your Website: Undead Institute Rating: 0 out of 5 stars0 ratingsA Beginner’s Guide to Learning HTML (and Smacking Zombies Upside the Web Development): Undead Institute Rating: 0 out of 5 stars0 ratingsMore Advanced CSS: Zombie in a Ballgown: 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 ratingsResponsive Design: An Undead Introduction to Mobile Web Development: 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 ratingsMy First Webpocalypse: Beginner HTML, CSS, and Usability (Virtual Boxed Set): Undead Institute Rating: 0 out of 5 stars0 ratingsThe Apocalyptic HTML Arsenal: An Undead Institute HTML Reference Dictionary: Undead Institute Rating: 0 out of 5 stars0 ratings
Related ebooks
A Beginner’s Guide to Learning HTML (and Smacking Zombies Upside the Web Development): Undead Institute Rating: 0 out of 5 stars0 ratingsJavaScript: Best Practices to Programming Code with JavaScript: JavaScript Computer Programming, #3 Rating: 0 out of 5 stars0 ratingsIntermediate CSS: Zombie in a Cocktail Dress: Undead Institute Rating: 0 out of 5 stars0 ratingsJavaScript: Tips and Tricks to Programming Code with Javascript: JavaScript Computer Programming, #2 Rating: 0 out of 5 stars0 ratingsJavaScript: Best Practices to Programming Code with JavaScript Rating: 0 out of 5 stars0 ratingsJavaScript: Tips and Tricks to Programming Code with Javascript Rating: 0 out of 5 stars0 ratingsJavaScript: Beginner's Guide to Programming Code with JavaScript Rating: 5 out of 5 stars5/5Beginner CSS: Like Putting Lipstick on a Zombie: Undead Institute Rating: 0 out of 5 stars0 ratingsCSS Animation: De-animating the Undead Horde: Undead Institute Rating: 0 out of 5 stars0 ratingsHow JavaScript Works Rating: 0 out of 5 stars0 ratingsJavaScript from Zero to Proficiency (Beginner): JavaScript from Zero to Proficiency, #1 Rating: 0 out of 5 stars0 ratingsMore Advanced CSS: Zombie in a Ballgown: Undead Institute Rating: 0 out of 5 stars0 ratingsJava for Black Jack: Learn the Java Programming Language in One Session by Writing and Running a Java-Based Card Game Simulation Rating: 0 out of 5 stars0 ratingsModern CSS Layout: Decking Zombies with Style: Undead Institute, #9 Rating: 0 out of 5 stars0 ratingsLearn JavaScript in 24 Hours Rating: 3 out of 5 stars3/5JavaScript: Advanced Guide to Programming Code with JavaScript Rating: 0 out of 5 stars0 ratingsJava: Beginner's Guide to Programming Code with Java: Java Computer Programming Rating: 0 out of 5 stars0 ratingsJavaScript Enlightenment Rating: 4 out of 5 stars4/5JavaScript: Beginner's Guide to Programming Code with JavaScript: JavaScript Computer Programming Rating: 0 out of 5 stars0 ratingsJavaScript Unlocked Rating: 5 out of 5 stars5/5My First Webpocalypse: Beginner HTML, CSS, and Usability (Virtual Boxed Set): Undead Institute Rating: 0 out of 5 stars0 ratingsJavascript Concepts: 1St Edition Rating: 0 out of 5 stars0 ratingsJavaScript for Gurus: Use JavaScript programming features, techniques and modules to solve everyday problems Rating: 0 out of 5 stars0 ratingsMastering JavaScript Rating: 4 out of 5 stars4/5100 Recipes for Programming Java Rating: 5 out of 5 stars5/5Decoding JavaScript: A Simple Guide for the Not-so-Simple JavaScript Concepts, Libraries, Tools, and Frameworks (English Edition) Rating: 0 out of 5 stars0 ratingsThe Javascript Adventure 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 ratingsCSS Master Rating: 0 out of 5 stars0 ratings
Internet & Web For You
The Digital Marketing Handbook: A Step-By-Step Guide to Creating Websites That Sell Rating: 5 out of 5 stars5/5Beginner's Guide To Starting An Etsy Print-On-Demand Shop Rating: 0 out of 5 stars0 ratingsCybersecurity 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/5Coding For Dummies Rating: 5 out of 5 stars5/5The Logo Brainstorm Book: A Comprehensive Guide for Exploring Design Directions Rating: 4 out of 5 stars4/5The Designer's Web Handbook: What You Need to Know to Create for the Web Rating: 0 out of 5 stars0 ratingsThe Beginner's Affiliate Marketing Blueprint Rating: 4 out of 5 stars4/5Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Wireless Hacking 101 Rating: 4 out of 5 stars4/5The $1,000,000 Web Designer Guide: A Practical Guide for Wealth and Freedom as an Online Freelancer Rating: 5 out of 5 stars5/5The Mega Box: The Ultimate Guide to the Best Free Resources on the Internet Rating: 4 out of 5 stars4/5Hacking : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Ethical Hacking Rating: 5 out of 5 stars5/5Six Figure Blogging In 3 Months Rating: 4 out of 5 stars4/5Remote/WebCam Notarization : Basic Understanding Rating: 3 out of 5 stars3/5SEO For Dummies Rating: 4 out of 5 stars4/5Wordpress for Beginners: The Easy Step-by-Step Guide to Creating a Website with WordPress Rating: 5 out of 5 stars5/5C++ Learn in 24 Hours Rating: 0 out of 5 stars0 ratingsTor and the Dark Art of Anonymity Rating: 5 out of 5 stars5/5Social Engineering: The Science of Human Hacking Rating: 3 out of 5 stars3/5From Nothing Rating: 5 out of 5 stars5/5How to Disappear and Live Off the Grid: A CIA Insider's Guide Rating: 0 out of 5 stars0 ratingsStop Asking Questions: How to Lead High-Impact Interviews and Learn Anything from Anyone Rating: 5 out of 5 stars5/5Get Rich or Lie Trying: Ambition and Deceit in the New Influencer Economy Rating: 0 out of 5 stars0 ratingsSix Figure Blogging Blueprint Rating: 5 out of 5 stars5/5Mike Meyers' CompTIA Security+ Certification Guide, Third Edition (Exam SY0-601) Rating: 5 out of 5 stars5/5How To Start A Podcast Rating: 4 out of 5 stars4/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 feedback@undead.institute
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