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