Skip to Content
HTML, CSS, & JavaScript All-in-One For Dummies
book

HTML, CSS, & JavaScript All-in-One For Dummies

by Paul McFedries
August 2023
Beginner
848 pages
18h 49m
English
For Dummies
Content preview from HTML, CSS, & JavaScript All-in-One For Dummies

Book 4

Building Dynamic Pages with JavaScript

Contents at a Glance

  1. Chapter 1: JavaScript: The Bird’s-Eye View
    1. What Is Web Coding?
    2. What Is a Programming Language?
    3. Is JavaScript Hard to Learn?
    4. What You Can Do with JavaScript
    5. What You Can’t Do with JavaScript
    6. What Do You Need to Get Started?
    7. Dealing with a Couple of Exceptional Cases
    8. Adding Comments to Your Code
    9. Creating External JavaScript Files
  2. Chapter 2: Understanding Variables
    1. Understanding Variables
    2. Naming Variables: Rules and Best Practices
    3. Understanding Literal Data Types
    4. JavaScript Reserved Words
    5. JavaScript and HTML Keywords
  3. Chapter 3: Building Expressions
    1. Understanding Expression Structure
    2. Building Numeric Expressions
    3. Building String Expressions
    4. Building Comparison Expressions
    5. Building Logical Expressions
    6. Understanding Operator Precedence
  4. Chapter 4: Controlling the Flow of JavaScript
    1. Making True/False Decisions with if Statements
    2. Branching with if…else Statements
    3. Making Multiple Decisions
    4. Understanding Code Looping
    5. Using while Loops
    6. Using for Loops
    7. Using do…while Loops
    8. Controlling Loop Execution
    9. Avoiding Infinite Loops
  5. Chapter 5: Harnessing the Power of Functions
    1. What Is a Function?
    2. The Structure of a Function
    3. Where Do You Put a Function?
    4. Calling a Function
    5. Passing Values to Functions
    6. Returning a Value from a Function
    7. Getting Your Head around Anonymous Functions
    8. Moving to Arrow Functions
    9. Running Functions in the Future
    10. Understanding Variable Scope
    11. Using Recursive Functions
  6. Chapter 6: Playing with the Document ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

HTML CSS and JavaScript for Beginners - A Web Design Course

HTML CSS and JavaScript for Beginners - A Web Design Course

Laurence Lars Svekis
HTML and CSS

HTML and CSS

Rheinwerk Publishing, Inc, Jürgen Wolf

Publisher Resources

ISBN: 9781394164684Purchase Link