Get Programming with JavaScript Front Cover

Get Programming with JavaScript

  • Length: 432 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2016-08-29
  • ISBN-10: 1617293105
  • ISBN-13: 9781617293108
  • Sales Rank: #801757 (See Top 100 Books)
Description

Summary

Get Programming with JavaScript is a hands-on introduction to programming for readers who have never programmed. You’ll be writing your own web apps, games, and programs in no time! Foreword by Remy Sharp.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Book

Are you ready to start writing your own web apps, games, and programs? You’re in the right place! Get Programming with JavaScript is a hands-on introduction to programming for readers who have never written a line of code. Since you’re just getting started, this friendly book offers you lots of examples backed by careful explanations. As you go along, you’ll find exercises to check your understanding and plenty of opportunities to practice your new skills. You don’t need any­thing special to follow the examples—just the text editor and web browser already installed on your computer. We even give you links to working online code so you can see how everything should look live on your screen.

What’s Inside

  • All the basics—objects, functions, responding to users, and more
  • Think like a coder and design your own programs
  • Create a text-based adventure game
  • Enhance web pages with JavaScript
  • Run your programs in a web browser
  • Four bonus chapters available online

About the Reader

No experience required! All you need is a web browser and an internet connection.

About the Author

John Larsen is a mathematics and computing teacher with an interest in educational research. He has an MA in mathematics and an MSc in information technology. He started programming in 1982, writing simple programs for teaching mathematics in 1993, building websites in 2001, and developing data-driven web-based applications for education in 2006.

Table of Contents

Part 1 Core concepts on the console
Chapter 1 Programming, JavaScript, and JS Bin
Chapter 2 Variables: storing data in your program
Chapter 3 Objects: grouping your data
Chapter 4 Functions: code on demand
Chapter 5 Arguments: passing data to functions
Chapter 6 Return values: getting data from functions
Chapter 7 Object arguments: functions working with objects
Chapter 8 Arrays: putting data into lists
Chapter 9 Constructors: building objects with functions
Chapter 10 Bracket notation: flexible property names

Part 2 Organizing your programs
Chapter 11 Scope: hiding information
Chapter 12 Conditions: choosing code to run
Chapter 13 Modules: breaking a program into pieces
Chapter 14 Models: working with data
Chapter 15 Views: displaying data
Chapter 16 Controllers: linking models and views

Part 3 JavaScript in the browser
Chapter 17 HTML: building web pages
Chapter 18 Controls: getting user input
Chapter 19 Templates: filling placeholders with data
Chapter 20 XHR: loading data
Chapter 21 Conclusion: get programming with JavaScript

To access the link, solve the captcha.