An Introduction to Programming in JavaScript: Stomping Zombies with Variables, Loops, Functions and More

· Undead Institute Book 13 · The Undead Institute
Ebook
52
Pages
Eligible

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.

Is this book for me?

We at the undead institute believe that getting braaains should be fun. While our definition of fun typically involves silly jokes, zombie references and learning ways to build great websites, not everyone agrees. If you’re looking for straight technical explanations without any wit or whimsy (or zombies) then these books probably aren’t for you. If you have an enormous technical background and no time for humor or apocalyptic analogies, then move along. There’s nothing for you to see here.

But if you like a good (or sometimes bad) joke, if you have little to no technical background or inclination but want to learn HTML, CSS and more, or if you’re a technology pro and prefer a spoonful of fun with your web development (zombie antidote) medicine, then these books were written for you, and these books will help you reach your web development goals.

There's no reason good learning can't live right alongside good fun. So grab your computer, grab your sense of humor and hit that buy button. We've got websites to build and zombies to smack.

About the author

John is a storyteller with design and development skills. By day he designs and builds websites. By night he creates stories, designs sci-fi stories for the web at illustratedscifi.com. He counts his words carefully at https://8wordstories.com and helps you kill zombies while learning web development https://undead.institute). 

He lives near Charlottesville, VA with his wife, Carrielyn, and, like, a lot of kids (seven at last count) plus more pets than is wise to enumerate. If you see him and he’s both awake and properly clothed, you know he’s having a good day.

Ask him questions, compliment his tastes in thirteenth century Greenlandic literature, and argue with him over minutia (like whether Greenland had any independent literature in the thirteenth century) on twitter @storykaboom

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.

Continue the series

More by John Rhea

Similar ebooks