HTML5 (HTML/CSS/JS)

Are you looking to avoid reinventing the wheel? You can use the modular code below to help your project along.

Do you need more of a head start? Try building from a mobile framework or using one of the complete apps.

 

Mobile Framework Code

Assets.cms.gov
Assets gives you Section 508 compliant, cross-browser compatible UI components that you can use in your accessible web site or web application. Assets is an accessible, responsive, and modern framework.
Link: http://assets.cms.gov/resources/framework/3.0/Pages/
Source: Centers for Medicaid and Medicare Services

Bootstrap
Sleek, intuitive, and powerful front-end framework for faster and easier web development.
Link: http://twitter.github.io/bootstrap/
Source: Third party

HHS.gov Responsive Design
Helps makes tables and charts responsive.
Link: https://github.com/HHS/HHS-Responsive-Design
Source: HHS

HTML5 Boilerplate
A front-end template for building "fast, robust, and adaptable" web apps or sites.
Link: http://html5boilerplate.com/
Source: Third party

Junior
A front-end framework for building HTML5 mobile apps with a native look and feel.
Link: http://justspamjustin.github.com/junior/#home
Source: Third party

MIT Mobile Web
This is the same code running on http://m.mit.edu/ as of October 2010, minus the mobile device detection server. That will have its own repository on GitHub. The MIT Mobile Web is an open source project released under the MIT License, detailed in the file named LICENSE.
Link: https://github.com/MIT-Mobile/MIT-Mobile-Web
Source: Third party

MyGov-Mobile-First-Foundation
A slightly reorganized version of Foundation, with core mobile styles up front (for the most part) and tablet and desktop second.
Link: https://github.com/presidential-innovation-fellows/mygov-mobile-first-foundation
Source: Presidential Innovation Fellows

UCLA Mobile Web Framework
The Mobile Web Framework is a cross-platform web framework that focuses on mobile web standards, semantic markup, device agnosticism and graceful degradation, providing a robust presentation layer that allows applications to define a single set of markup optimized for HTML5 capable devices that degrades gracefully to any HTML 4.01 or XHTML MP compliant device including Blackberry, Windows Mobile and even T9 phones.
Link: https://github.com/ucla/mwf
Source: Other government

UX Frontend Toolkit
A collection of Sass and Javascript tools for generating frontend code.
Link: https://github.com/alphagov/govuk_frontend_toolkit
Source: United Kingdom

Modular Code

jQuery Mobile
A unified, HTML5-based user interface system for all popular mobile device platforms, built on the jQuery and jQuery UI foundation. Its lightweight code is built with progressive enhancement, and has a flexible, easily themeable design.
Link: https://github.com/jquery/jquery-mobile
Source: Third party

Leaflet
Leaflet is a modern open-source JavaScript library for mobile-friendly interactive maps. It is developed by Vladimir Agafonkin of CloudMade with a team of dedicated contributors. Weighing just about 27 KB of gzipped JS code, it has all the features most developers ever need for online maps. More info at http://leafletjs.com.
Link: https://github.com/Leaflet/Leaflet
Source: Third party

Web Experience Toolkit (WET)
Web Experience Toolkit (WET) includes reusable components for building and maintaining innovative Web sites that are accessible, usable, and interoperable. These reusable components are open source software and free for use by departments and external Web communities. The toolkit complies with the new Standards on Web Accessibility and Web Usability; the toolkit will also ease compliance with the Standard on Web Interoperability. WET is highly recommended for use on Government of Canada Websites.
Link: https://github.com/wet-boew/wet-boew
Source: Other government

Complete Apps

SNAPfinder
SNAPfinder is a mobile-first app for locating retailers that participate in the SNAP (formerly known as Food Stamps) program. It uses data provided by the USDA and imported daily into a MongoDB database to return nearby retailers for a given address, region, or geographic area in U.S. This project depends on two other open source projects: snapfinder-lib and snapfinder-api, which together provide the support for the cloud-hosted REST API this app uses. In addition to using this app, the REST API is available to developers to build their own SNAP applications.
SNAPfinder is developed as a collaboration between the GSA and the private sector, sponsored by ITSource Technology Inc., as an Open Source project in support of the Federal Government's commitment to Open Data.
This app is composed of three separate open source projects hosted on GitHub:
  • snapfinder - a mobile-first web app that uses the API (Node, Express, EJS, Bootstrap 3)
  • snapfinder-api - REST API for querying SNAP data (Node, Express)
  • snapfinder-lib - provides underlying framework for importing and querying SNAP data (Node, MongoDB)
Link: http://www.itsourcetek.com/announcing-snapfinder/
Source: Third party