gh-pages
branch set as the default branchREADME
filegit clone https://github.com/yourgithubusername/stopwatch.git
stopwatch/index.html
in a browser to see the local copy of your appindex.html
<h1>
tag to create clock display<h1 id="clock">00:00</h1>
<button>
tags to create start/stop and reset buttons<button id="start-stop">Start</button>
<button id="reset" class="danger">Reset</button>
css/stopwatch.css
<link>
tag<link rel="stylesheet" href="css/stopwatch.css">
color: red;
background-color: black;
<link>
tag<link rel="stylesheet" href="http://buildingfirefoxos.github.io/Building-Blocks/style/buttons.css">
<link>
tag<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans">
js/stopwatch.js
<script>
tag<script type="text/javascript" src="js/stopwatch.js">
setupStopwatch
function to see how it worksmainfest.webapp
file<button id="install">Install Stopwatch</button>
setupInstallButton
function to see how this button worksgit add .
to stage your changesgit commit -m "your commit message"
to commit your changesgit push
to push your changes