Chapter 2

Building a Mobile Web App

IN THIS CHAPTER

check Building a mobile web app from the ground up

check Putting a few jQuery Mobile widgets through their paces

check Setting up the app’s structure with HTML

check Defining the look of the app with CSS

check Making the app do something useful with JavaScript and jQuery

Learning the art of programming, like most other disciplines, consists of first learning the rules and then learning when to break them.

— JOSHUA BLOCH

In this chapter, I show you how to build an app that’s designed for the mobile web. In particular, my goal here is to build an app that satisfies three of the most common criteria in mobile web app development. For starters, the app must work well first and foremost on a smartphone. That is, it must be a mobile-first design, as I describe in Book 8, Chapter 1. Second, the app must look at least a little like the so-called native apps that are available in the App Store for iOS and Google Play for Android. Although the code will live on the ...

Get Web Coding & Development All-in-One For Dummies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.