Coding All-in-One For Dummies, 2nd Edition

Book description

The go-to guide for learning coding from the ground-up

Adding some coding know-how to your skills can help launch a new career or bolster an old one. Coding All-in-One For Dummies offers an ideal starting place for learning the languages that make technology go. This edition gets you started with a helpful explanation of how coding works and how it’s applied in the real-world before setting you on a path toward writing code for web building, mobile application development, and data analysis. Add coding to your skillset for your existing career, or begin the exciting transition into life as a professional developer—Dummies makes it easy.

  • Learn coding basics and how to apply them
  • Analyze data and automate routine tasks on the job
  • Get the foundation you need to launch a career as a coder
  • Add HTML, JavaScript, and Python know-how to your resume

This book serves up insight on the basics of coding, designed to be easy to follow, even if you’ve never written a line of code in your life. You can do this.

Table of contents

  1. Cover
  2. Title Page
  3. Copyright
  4. Introduction
    1. About This Book
    2. Foolish Assumptions
    3. Icons Used in This Book
    4. Beyond the Book
    5. Where to Go from Here
  5. Book 1: Getting Started with Coding
    1. Chapter 1: What Is Coding?
      1. Defining What Code Is
      2. Understanding What Coding Can Do for You
      3. Surveying the Types of Programming Languages
      4. Taking a Tour of a Web App Built with Code
    2. Chapter 2: Programming for the Web
      1. Displaying Web Pages on Your Desktop and Mobile Device
      2. Coding Web Applications
      3. Coding Mobile Applications
      4. Deploying Web Applications in the Cloud
    3. Chapter 3: Becoming a Programmer
      1. Writing Code Using a Process
      2. Picking Tools for the Job
  6. Book 2: Basic Web Coding
    1. Chapter 1: Exploring Basic HTML
      1. What Does HTML Do?
      2. Understanding HTML Structure
      3. Getting Familiar with Common HTML Tasks and Elements
      4. Styling Me Pretty
      5. Building Your First Website Using HTML
    2. Chapter 2: Getting More Out of HTML
      1. Organizing Content on the Page
      2. Listing Data
      3. Putting Data in Tables
      4. Filling Out Forms
      5. Practicing More with HTML
    3. Chapter 3: Getting Stylish with CSS
      1. What Does CSS Do?
      2. CSS Structure
      3. Common CSS Tasks and Selectors
      4. Getting Stylish
    4. Chapter 4: Next Steps with CSS
      1. Styling (More) Elements on Your Page
      2. Selecting Elements to Style
      3. Aligning and Laying Out Your Elements
      4. Writing More Advanced CSS
    5. Chapter 5: Responsive Layouts with Flexbox
      1. Introducing Responsive Design
      2. Using Flexbox
      3. Experimenting with Flexbox
    6. Chapter 6: Styling with Bootstrap
      1. Figuring Out What Bootstrap Does
      2. Installing Bootstrap
      3. Understanding the Layout Options
      4. Coding Basic Web Page Elements
      5. Practicing with Bootstrap
  7. Book 3: Advanced Web Coding
    1. Chapter 1: What Is JavaScript?
      1. What Is JavaScript?
      2. JavaScript Grows Up
      3. Why JavaScript?
    2. Chapter 2: Writing Your First JavaScript Program
      1. Setting Up Your Development Environment
      2. Reading JavaScript Code
      3. Running JavaScript in the Browser Window
      4. Using the JavaScript Developer Console
      5. Commenting Your Code
    3. Chapter 3: Working with Variables
      1. Understanding Variables
      2. Initializing Variables
      3. Understanding Global and Local Scope
      4. Naming Variables
      5. Creating Constants Using the const Keyword
      6. Working with Data Types
    4. Chapter 4: Understanding Arrays
      1. Making a List
      2. Array Fundamentals
      3. Creating Arrays
      4. Populating Arrays
      5. Understanding Multidimensional Arrays
      6. Accessing Array Elements
    5. Chapter 5: Working with Operators, Expressions, and Statements
      1. Express Yourself
      2. Hello, Operator
      3. Types of Operators
    6. Chapter 6: Getting into the Flow with Loops and Branches
      1. Branching Out
      2. Here We Go: Loop De Loop
    7. Chapter 7: Getting Functional
      1. Understanding the Function of Functions
      2. Using Function Terminology
      3. The Benefits of Using Functions
      4. Writing Functions
      5. Returning Values
      6. Passing and Using Arguments
      7. Understanding Function Scope
      8. Creating Anonymous Functions
      9. Doing it Again with Recursion
      10. Functions within Functions
    8. Chapter 8: Making and Using Objects
      1. Object of My Desire
      2. Creating Objects
      3. Retrieving and Setting Object Properties
      4. Deleting Properties
      5. Working with Methods
      6. An Object-Oriented Way to Become Wealthy: Inheritance
    9. Chapter 9: Controlling the Browser with the Window Object
      1. Understanding the Browser Environment
      2. Investigating the BOM
    10. Chapter 10: Manipulating Documents with the DOM
      1. Understanding the DOM
      2. Understanding Node Relationships
      3. Using the Document Object’s Properties and Methods
      4. Using the Element Object's Properties and Methods
      5. Working with the Contents of Elements
      6. Getting Elements by ID, Tag Name, or Class
      7. Using the Attribute Object's Properties
      8. Creating and Appending Elements
      9. Removing Elements
    11. Chapter 11: Using Events in JavaScript
      1. Knowing Your Events
      2. Handling Events
    12. Chapter 12: Integrating Input and Output
      1. Understanding HTML Forms
      2. Working with the Form Object
    13. Chapter 13: Understanding Callbacks and Closures
      1. What Are Callbacks?
      2. Understanding Closures
      3. Using Closures
    14. Chapter 14: Embracing AJAX and JSON
      1. Working behind the Scenes with AJAX
      2. Putting Objects in Motion with JSON
  8. Book 4: Creating Mobile Apps
    1. Chapter 1: What Is Flutter?
      1. All About Hardware and Software
      2. Where Does Flutter Fit In?
      3. Enough New Terminology! What's Next?
    2. Chapter 2: Setting Up Your Computer for Mobile App Development
      1. The Stuff You Need
      2. What to Do
      3. Dealing with the Devil's Details
      4. Divisiveness Among Devices
      5. Using Android Studio
      6. Running This Book's Sample Programs
    3. Chapter 3: “Hello” from Flutter
      1. First Things First: Creating a Flutter Project
      2. Classes, Objects, and Widgets
      3. Making Things Look Nicer
      4. Hey, Wait a Minute …
    4. Chapter 4: Hello Again
      1. Creating and Using a Function
      2. Programming in Dart: The Small Stuff
      3. Creating Function Declaration Variations
      4. More Fun to Come!
    5. Chapter 5: Making Things Happen
      1. Let's All Press a Floating Action Button
      2. Enhancing Your App
      3. Whew!
    6. Chapter 6: Laying Things Out
      1. Understanding the Big Picture
      2. Nesting Rows and Columns
      3. Introducing More Levels of Nesting
      4. Using the Expanded Widget
      5. How Big Is My Device?
    7. Chapter 7: Interacting with the User
      1. A Simple Switch
      2. Wait For It!
      3. How Much Do You Love Flutter?
      4. Dealing with Text Fields
      5. Creating Radio Buttons
      6. Creating a Drop-Down Button
      7. Onward and Upward
    8. Chapter 8: Navigation, Lists, and Other Goodies
      1. Extending a Dart Class
      2. Navigating from One Page to Another
      3. Passing Data from the Source to a Destination
      4. Passing Data Back to the Source
      5. Passing Data in Both Directions
      6. Creating Named Routes
      7. Creating a List
      8. Fetching Data from the Internet
      9. What’s Next?
    9. Chapter 9: Moving Right Along …
      1. Setting the Stage for Flutter Animation
      2. Moving Along a Straight Line
      3. Bouncing Around
      4. Animating Size and Color Changes
      5. Moving Along a Curve
      6. Dragging Things Around
      7. Tearing Things Up
  9. Book 5: Getting Started with Python
    1. Chapter 1: Wrapping Your Head around Python
      1. What Does Python Do?
      2. Defining Python Structure
      3. Coding Common Python Tasks and Commands
      4. Shaping Your Strings
    2. Chapter 2: Installing a Python Distribution
      1. Using Anaconda
      2. Installing Anaconda on Linux
      3. Installing Anaconda on macOS X
      4. Installing Anaconda on Windows
      5. Downloading the Data Sets and Example Code
    3. Chapter 3: Working with Real Data
      1. Uploading, Streaming, and Sampling Data
      2. Accessing Data in Structured Flat-File Form
      3. Sending Data in Unstructured File Form
      4. Managing Data from Relational Databases
      5. Interacting with Data from NoSQL Databases
      6. Accessing Data from the Web
  10. Book 6: Data Analysis with Python
    1. Chapter 1: Conditioning Your Data
      1. Juggling between NumPy and pandas
      2. Validating Your Data
      3. Manipulating Categorical Variables
      4. Dealing with Dates in Your Data
      5. Dealing with Missing Data
      6. Slicing and Dicing: Filtering and Selecting Data
      7. Concatenating and Transforming
      8. Aggregating Data at Any Level
    2. Chapter 2: Shaping Data
      1. Working with HTML Pages
      2. Working with Raw Text
      3. Using the Bag of Words Model and Beyond
      4. Working with Graph Data
    3. Chapter 3: Getting a Crash Course in MatPlotLib
      1. Starting with a Graph
      2. Setting the Axis, Ticks, Grids
      3. Defining the Line Appearance
      4. Using Labels, Annotations, and Legends
    4. Chapter 4: Visualizing the Data
      1. Choosing the Right Graph
      2. Creating Advanced Scatterplots
      3. Plotting Time Series
      4. Visualizing Graphs
  11. Book 7: Career Building with Coding
    1. Chapter 1: Exploring Coding Career Paths
      1. Augmenting Your Existing Job
      2. Finding a New Coding Job
    2. Chapter 2: Exploring Undergraduate and Graduate Degrees
      1. Getting a College Degree
      2. Enrolling in an Advanced Degree Program
      3. Interning to Build Credibility
    3. Chapter 3: Training on the Job
      1. Taking a Work Project to the Next Level
      2. Learning on the Job and After Work
      3. Freelancing to Build Confidence and Skills
      4. Transitioning to a New Role
    4. Chapter 4: Coding Career Myths
      1. You Must Be Good at Math
      2. You Must Have Studied Engineering
      3. You Can Learn Coding in a Few Weeks
      4. You Need a Great Idea to Start Coding
      5. Ruby Is Better than Python
      6. Only College Graduates Receive Coding Offers
      7. You Must Have Experience
      8. Tech Companies Don’t Hire Women or Minorities
      9. The Highest Paying Coding Jobs Are in San Francisco
      10. Your Previous Experience Isn’t Relevant
  12. Index
  13. About the Authors
  14. Advertisement Page
  15. Connect with Dummies
  16. End User License Agreement

Product information

  • Title: Coding All-in-One For Dummies, 2nd Edition
  • Author(s): Chris Minnick
  • Release date: August 2022
  • Publisher(s): For Dummies
  • ISBN: 9781119889564