Introduction to JavaScript Programming: The 'Nothing but a Browser' Approach, 1st edition

  • Eric Roberts

Your access includes:

  • Search, highlight, notes, and more
  • Easily create flashcards
  • Use the app for access anywhere
  • 14-day refund guarantee

$10.99per month

Minimum 4-month term, pay monthly or pay $43.96 upfront

Learn more, spend less

  • Listen on the go

    Learn how you like with full eTextbook audio

  • Find it fast

    Quickly navigate your eTextbook with search

  • Stay organized

    Access all your eTextbooks in one place

  • Easily continue access

    Keep learning with auto-renew


Understanding Programming through JavaScript introduces the fundamental concepts of programming with JavaScript. This brand-new title by Eric Roberts focuses on the fundamental concepts of programming, and is written for students with no prior knowledge or experience. It draws on a rich pedagogical heritage to give you the foundational skills needed to pursue other coding languages, or a career in computer programming.

You will build your skills and develop live, interactive web applications that really work on web browsers, providing both instant feedback and gratification. This new text includes chapter openers that humanize computing, review questions for student self-testing and many other valuable features.

Published by Pearson (June 9th 2021) - Copyright © 2020

ISBN-13: 9780137530847

Subject: Programming - Introductory

Category: Additional Programming Languages


  1. A Gentle Introduction
    • 1.1 Introducing Karel
    • 1.2 Teaching Karel to solve problems
    • 1.3 Control statements
    • 1.4 Stepwise refinement
    • 1.5 Algorithms in Karel’s world
    • Summary
    • Review questions
    • Exercises
  2. Introducing JavaScript
    • 2.1 Data and types
    • 2.2 Numeric data
    • 2.3 Variables
    • 2.4 Functions
    • 2.5 String data
    • 2.6 Running JavaScript in the browser
    • 2.7 Testing and debugging
    • 2.8 Software maintenance
    • Summary
    • Review questions
    • Exercises
  3. Control Statements
    • 3.1 Boolean Data
    • 3.2 The if statement
    • 3.3 The switch statement
    • 3.4 The while statement
    • 3.5 The for statement
    • 3.6 Algorithmic programming
    • 3.7 Avoiding fuzzy standards of truth
    • Summary
    • Review questions
    • Exercises
  4. Simple Graphics
    • 4.1 A graphical version of “Hello World”
    • 4.2 Classes, objects, and methods
    • 4.3 Graphical objects
    • 4.4 The graphics window
    • 4.5 Creating graphical applications
    • Summary
    • Review questions
    • Exercises
  5. Functions
    • 5.1 A quick review of functions
    • 5.2 Libraries
    • 5.3 A library to support randomness
    • 5.4 The mechanics of function calls
    • 5.5 Recursive functions
    • Summary
    • Review questions
    • Exercises
  6. Writing Interactive Programs
    • 6.1 First-class functions
    • 6.2 A simple interactive example
    • 6.3 Controlling properties of objects
    • 6.4 Responding to mouse events
    • 6.5 Timer-based animation
    • 6.6 Expanding the graphics library
    • Summary
    • Review questions
    • Exercises
  7. Strings
    • 7.1 Binary representation
    • 7.2 String operations
    • 7.3 Classifying characters
    • 7.4 Common string patterns
    • 7.5 String applications
    • 7.6 Reading from the console
    • Summary
    • Review questions
    • Exercises
  8. Arrays
    • 8.1 Introduction to arrays
    • 8.2 Array operations
    • 8.3 Using arrays for tabulation
    • 8.4 Reading text from files
    • 8.5 Multidimensional arrays
    • 8.6 Image processing
    • Summary
    • Review questions
    • Exercises
  9. Objects
    • 9.1 Objects in JavaScript
    • 9.2 Using objects as maps
    • 9.3 Representing points
    • 9.4 Rational numbers
    • 9.5 Linking objects together
    • Summary
    • Review questions
    • Exercises
  10. Designing Data Structures
    • 10.1 Abstract data types
    • 10.2 Implementing a token scanner
    • 10.3 Efficiency and representation
    • 10.4 Representing real-world data
    • Summary
    • Review questions
    • Exercises
  11. Inheritance
    • 11.1 Class hierarchies
    • 11.2 Defining an employee hierarchy
    • 11.3 Extending graphical classes
    • 11.4 Decomposition and inheritance
    • 11.5 Alternatives to inheritance
    • Summary
    • Review questions
    • Exercises
  12. JavaScript and the Web
    • 12.1 A simple interactive example
    • 12.2 An expanded look at HTML
    • 12.3 Controlling style using CSS
    • 12.4 Connecting JavaScript and HTML
    • 12.5 Storing data in the index.html file
    • Summary
    • Review questions
    • Exercises

Your questions answered

Pearson+ is your 1-stop shop with eTextbooks, study tools and exam prep features designed to help students get better grades in college. eTextbooks come with built-in tools that simplify studying, like flashcards, audiobook and search. Pearson+ also features Channels, which includes practice problems, study guides, Q&A with experts, video lessons that help you understand tricky topics and more—all in one place. Channels can be purchased separately or added on to your eTextbook at the time of purchase as part of the Study & Exam Prep Pack.

A Pearson eTextbook is an easy-to-use digital version of your book for class that includes upgraded study tools to help you learn how you learn best. Use enhanced search to find what you need within your eTextbook, highlight and make notes to mark important info, generate flashcards to test your knowledge, and use audio to listen to the text. Every feature is designed to help you learn more efficiently and get results. Plus, you can learn on the go with the Pearson+ app. Find this and more in your eTextbook, available in Pearson+.

The Study & Exam Prep Pack includes practice problems, study guides, Q&A with experts, Channels video lessons that help you understand tricky topics and more. It can be added on to your eTextbook or your MyLab and Mastering learning platform at the time of purchase.

Your eTextbook subscription gives you access for 4 months. You can make a one‑time payment for the initial 4‑month term or pay monthly. If you opt for monthly payments, we will charge your payment method each month until your 4‑month term ends. You can turn on auto‑renew in My account at any time to continue your subscription before your 4‑month term ends.

When you purchase an eTextbook subscription, it will last 4 months. You can renew your subscription by selecting Extend subscription on the Manage subscription page in My account before your initial term ends.

If you extend your subscription, we'll automatically charge you every month. If you made a one‑time payment for your initial 4‑month term, you'll now pay monthly. To make sure your learning is uninterrupted, please check your card details.

To avoid the next payment charge, select Cancel subscription on the Manage subscription page in My account before the renewal date. You can subscribe again in the future by purchasing another eTextbook subscription.

Channels is a video platform with thousands of explanations, solutions and practice problems to help you do homework and prep for exams. Videos are personalized to your course, and tutors walk you through solutions. Plus, interactive AI‑powered summaries and a social community help you better understand lessons from class.

Channels is an additional tool to help you with your studies. This means you can use Channels even if your course uses a non‑Pearson textbook.

When you choose a Channels subscription, you're signing up for a 1‑month, 3‑month or 12‑month term and you make an upfront payment for your subscription. By default, these subscriptions auto‑renew at the frequency you select during checkout.

When you purchase a Channels subscription it will last 1 month, 3 months or 12 months, depending on the plan you chose. Your subscription will automatically renew at the end of your term unless you cancel it.

We use your credit card to renew your subscription automatically. To make sure your learning is uninterrupted, please check your card details.