Coding For Dummies®

[Pages:283] Coding For Dummies?

Published by: John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030-5774,

Copyright ? 2015 by John Wiley & Sons, Inc., Hoboken, New Jersey

Media and software compilation copyright ? 2015 by John Wiley & Sons, Inc. All rights reserved.

Published simultaneously in Canada

No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without the prior written permission of the Publisher. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at go/permissions.

Trademarks: Wiley, For Dummies, the Dummies Man logo, , Making Everything Easier, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and may not be used without written permission. All other trademarks are the property of their respective owners. John Wiley & Sons, Inc. is not associated with any product or vendor mentioned in this book.

LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHOR MAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE. NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES OR PROMOTIONAL MATERIALS. THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT BE SUITABLE FOR EVERY SITUATION. THIS WORK IS SOLD WITH THE UNDERSTANDING THAT THE PUBLISHER IS NOT ENGAGED IN RENDERING LEGAL, ACCOUNTING, OR OTHER PROFESSIONAL SERVICES. IF PROFESSIONAL

ASSISTANCE IS REQUIRED, THE SERVICES OF A COMPETENT PROFESSIONAL PERSON SHOULD BE SOUGHT. NEITHER THE PUBLISHER NOR THE AUTHOR SHALL BE LIABLE FOR DAMAGES ARISING HEREFROM. THE FACT THAT AN ORGANIZATION OR WEBSITE IS REFERRED TO IN THIS WORK AS A CITATION AND/OR A POTENTIAL SOURCE OF FURTHER INFORMATION DOES NOT MEAN THAT THE AUTHOR OR THE PUBLISHER ENDORSES THE INFORMATION THE ORGANIZATION OR WEBSITE MAY PROVIDE OR RECOMMENDATIONS IT MAY MAKE. FURTHER, READERS SHOULD BE AWARE THAT INTERNET WEBSITES LISTED IN THIS WORK MAY HAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS WORK WAS WRITTEN AND WHEN IT IS READ.

For general information on our other products and services, please contact our Customer Care Department within the U.S. at 877-762-2974, outside the U.S. at 317-572-3993, or fax 317-572-4002. For technical support, please visit techsupport.

Wiley publishes in a variety of print and electronic formats and by print-ondemand. Some material included with standard print versions of this book may not be included in e-books or in print-on-demand. If this book refers to media such as a CD or DVD that is not included in the version you purchased, you may download this material at . For more information about Wiley products, visit .

Library of Congress Control Number: 2014954659

ISBN 978-1-118-95130-9 (pbk); ISBN 978-1-118-95130-9 (ebk); ISBN 9781-118-97091-1 (ebk)

Manufactured in the United States of America

10 9 8 7 6 5 4 3 2 1

Coding For Dummies?

Visit cheatsheet/coding to view this book's cheat sheet.

Table of Contents

Introduction

About This Book Foolish Assumptions Icons Used in This Book Beyond the Book Where to Go from Here

Part I: Getting Started with Coding

Chapter 1: What Is Coding?

Defining What Code Is Following instructions Writing code with some Angry Birds

Understanding What Coding Can Do for You Eating the world with software Coding on the job Scratching your own itch (and becoming rich and famous)

Surveying the Types of Programming Languages Comparing low-level and high-level programming languages Contrasting compiled code and interpreted code Programming for the web

Taking a Tour of a Web App Built with Code Defining the app's purpose and scope Standing on the shoulders of giants

Chapter 2: Programming for the Web

Displaying Web Pages on Your Desktop and Mobile Device Hacking your favorite news website Understanding how the World Wide Web works Watching out for your front end and back end Defining web and mobile applications

Coding Web Applications

Starting with HTML, CSS, and JavaScript Adding logic with Python, Ruby, or PHP Coding Mobile Applications Building mobile web apps Building native mobile apps

Chapter 3: Becoming a Programmer

Writing Code Using a Process Researching what you want to build Designing your app Coding your app Debugging your code

Picking Tools for the Job Working offline Working online with

Part II: Building the Silent and Interactive Web Page

Chapter 4: Exploring Basic HTML

What Does HTML Do? Understanding HTML Structure

Identifying elements Featuring your best attribute Standing head, title, and body above the rest Getting Familiar with Common HTML Tasks and Tags Writing headlines Organizing text in paragraphs Linking to your (heart's) content Adding images Styling Me Pretty Highlighting with bold, italics, underline, and strikethrough Raising and lowering text with superscript and subscript Building Your First Website Using HTML

Chapter 5: Getting More Out of HTML

Organizing Content on the Page Listing Data

Creating ordered and unordered lists Nesting lists Putting Data in Tables Basic table structuring Stretching table columns and rows Aligning tables and cells Filling Out Forms

Understanding how forms work Creating basic forms Practicing More with HTML

Chapter 6: Getting Stylish with CSS

What Does CSS Do? CSS Structure

Choosing the element to style My property has value Hacking the CSS on your favorite website Common CSS Tasks and Selectors Font gymnastics: size, color, style, family, and decoration Customizing links Adding background images and styling foreground images Styling Me Pretty Adding CSS to your HTML Building your first web page

Chapter 7: Next Steps with CSS

Styling (More) Elements on Your Page Styling lists Designing tables

Selecting Elements to Style Styling specific elements Naming HTML elements

Aligning and Laying Out Your Elements Organizing data on the page Shaping the div Understanding the box model Positioning the boxes

Writing More Advanced CSS

Chapter 8: Working Faster with Twitter Bootstrap

Figuring Out What Bootstrap Does Installing Bootstrap Understanding the Layout Options

Lining up on the grid system Dragging and dropping to a website Using predefined templates Adapting layout for mobile, tablet, and desktop Coding Basic Web Page Elements Designing buttons Navigating with toolbars

Adding icons Build the Airbnb Home Page

Chapter 9: Adding in JavaScript

What Does JavaScript Do? Understanding JavaScript Structure Using Semicolons, Quotes, Parentheses, and Braces Coding Common JavaScript Tasks

Storing data with variables Making decisions with if-else statements Working with string and number methods Alerting users and prompting them for input Naming code with functions Adding JavaScript to the web page Writing Your First JavaScript Program Working with APIs What do APIs do? Scraping data without an API Researching and choosing an API Using JavaScript Libraries jQuery D3.js Searching for Videos with YouTube's API

Part III: Putting Together a Web Application

Chapter 10: Building Your Own App

Building a Location-Based Offer App Understanding the situation Plotting your next steps

Following an App Development Process Planning Your First Web Application Exploring the Overall Process Meeting the People Who Bring a Web App to Life

Creating with designers Coding with front- and back-end developers Managing with product managers Testing with quality assurance

Chapter 11: Researching Your First Web Application

Dividing the App into Steps Finding your app's functionality Finding your app's functionality: My version Finding your app's form

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download