Skip to content

Instantly share code, notes, and snippets.

@theRemix
theRemix / github_api_intro.md
Last active August 29, 2015 14:17 — forked from mrbarbasa/github_api_intro.md
Intro to Github API Exercise

Intro to GitHub API Exercise

  1. In your DevLeague temp directory, create a directory called github_api_intro.

  2. In github_api_intro, create the following files and directories: js/app.js, css/styles.css (optional), index.html.

  3. Create the basic HTML5 structure and include the JS and CSS files in your index.html. Be sure to reference jQuery before the js/app.js file:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
var app = angular.module('validationExample', []);
app.controller('signupController', ['$scope', function($scope) {
$scope.submitted = false;
$scope.signupForm = function() {
if ($scope.signup_form.$valid) {
} else {
$scope.signup_form.submitted = true;
}