JavaScript For Kids For Dummies

Book description

Have big dreams? Kick start them with JavaScript!

If we've learned one thing from the Millennial generation, it's that no one is too young to make history online. JavaScript For Kids For Dummies introduces pre-teens and early teens alike to the world of JavaScript, which is an integral programming language that drives the functionality of websites and apps. This informative, yet engaging text guides you through the basics of coding with JavaScript, and is an essential resource if you want to expand your technology skills while following easy, step-by-step instructions. Through small, goal-oriented projects, you learn key coding concepts, while actually creating apps, games, and more. This hands-on experience, coupled with the presentation of ideas in a simple style, allows you to both learn and retain JavaScript fundamentals.

JavaScript has been heralded as 'the programming language of the web,' and many kids are interested in learning how to use it; however, most schools don't offer coding classes at this level, and most families can't afford the high cost of coding classes through a summer camp. But this can't stop you from developing your JavaScript coding skills! This fun text is all you need to get started on your JavaScript journey.

  • Explore the basics of JavaScript through the creation of a calculator app

  • Deepen your understanding of HTML, arrays, and variables by building a grocery shopping app

  • Learn conditional logic through the development of a choose your own adventure game

  • Discover loops and strings by creating a lemonade stand app and MadLibs-style game

  • JavaScript For Kids For Dummies brings pre-teens and early teens into the world of coding by teaching them one of the key Web design languages.

    Table of contents

      1. Cover
      2. Introduction
        1. About This Book
        2. Foolish Assumptions
        3. Icons Used In This Book
        4. Beyond the Book
        5. Where to Go from Here
      3. Part I: What Is JavaScript? Alert! JavaScript Is Awesome!
        1. Chapter 1: Programming the Web
          1. What Is Programming?
          2. Talking to Computers
          3. Choosing a Language
          4. What Is JavaScript?
          5. Get Your Browser Ready
          6. Opening the Web Developer Tools
          7. Introducing the JavaScript Console
          8. Running Your First JavaScript Commands
          9. Having Fun with Math
        2. Chapter 2: Understanding Syntax
          1. Saying Precisely What You Mean
          2. Making a Statement
          3. Following the Rules
        3. Chapter 3: Giving and Receiving Data
          1. Mastering Variables
          2. Understanding Data Types
          3. Prompting the User for Input
          4. Responding to Input
          5. Combining Input and Output
        4. Chapter 4: Fiddling with Web Applications
          1. Introducing JSFiddle
          2. Creating a JSFiddle Account
          3. Sharing Your Fiddle
          4. Saving Your App
      4. Part II: Animating the Web
        1. Chapter 5: JavaScript and HTML
          1. Writing HTML
          2. Knowing Your HTML Elements
          3. Adding Attributes to Elements
          4. Changing HTML with JavaScript
        2. Chapter 6: JavaScript and CSS
          1. Meet Douglas the JavaScript Robot
          2. CSS Basics
          3. CSS Properties Give You Style
          4. Customize Your Own JavaScript Robot!
        3. Chapter 7: Building an Animated Robot
          1. Changing CSS with JavaScript
          2. Make Douglas Dance!
          3. Adding a second animation function
      5. Part III: Getting Operations
        1. Chapter 8: Building Your Dream Car with Operands
          1. Knowing Your Operands
          2. Working with Objects
          3. Configuring Your Dream Car
        2. Chapter 9: Putting It Together with Operators
          1. Introducing the Super-Calculator
          2. Super-Calculator Tricks
        3. Chapter 10: Creating Your Own JavaScript Word Game
          1. Creating a Variable Story
          2. Creating the Word Replacement Game
      6. Part IV: Arrays and Functions
        1. Chapter 11: Creating and Changing Arrays
          1. What Are Arrays?
          2. Creating and Accessing Arrays
          3. Changing Array Element Values
          4. Working with Array Methods
          5. Learning the Ways of Arrays
        2. Chapter 12: Making It Functional
          1. Understanding Functions
          2. Knowing What Functions Are Made Of
          3. Building Function Junction
        3. Chapter 13: Creating a Wish List Program
          1. Introducing the Wish List Program
          2. Forking the Code
          3. Writing the HTML
          4. Writing the JavaScript Code
      7. Part V: Freedom of Choice
        1. Chapter 14: Making Decisions with the If…Else Statement
          1. Boolean Logic
          2. Introducing if…else Statements
          3. Combining Comparisons with Logical Operators
          4. Freshening Up the JavaScript Pizzeria
        2. Chapter 15: Doing Different Things with Switch
          1. Writing a Switch
          2. Building the Activity-of-the-Day Calendar
        3. Chapter 16: Choose Your Own Adventure
          1. Planning the Story
          2. Playing the Game
          3. Forking the Code
          4. Tiptoeing through the HTML and CSS
          5. Writing the Martian Rescue! JavaScript
      8. Part VI: Loops
        1. Chapter 17: What’s This Loop For?
          1. Introducing the for Loop
          2. Random Weather Forecasting
        2. Chapter 18: Using While Loops
          1. Writing a while Loop
          2. Coding the Lunch Game
          3. Moving to Your Own Website
        3. Chapter 19: Building a Lemonade Stand
          1. Playing the Game
          2. A Lesson in Business
          3. Building the Game
          4. Improving the Lemonade Game
      9. About the Authors
      10. Cheat Sheet
      11. Advertisement Page
      12. Connect with Dummies
      13. End User License Agreement

    Product information

    • Title: JavaScript For Kids For Dummies
    • Author(s): Chris Minnick, Eva Holland
    • Release date: August 2015
    • Publisher(s): For Dummies
    • ISBN: 9781119119869