Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion todo-src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</head>

<body ng-app="app">
<h1 class="text-center">My little to do app!</h1>
<h1 class="text-center">My little to do app! Test commit: Cameron Hickey</h1>

<div id="todo" class="col-xs-6 col-xs-offset-3" ng-controller="MainCtrl">

Expand Down
4 changes: 2 additions & 2 deletions todo-src/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ myApp.controller('MainCtrl', function ($scope){
$scope.newItem = "";

$scope.addItem = function(){
console.log("in add");
console.log("in addition");// Maria
if ($scope.newItem !== ""){
$scope.todos.push($scope.newItem);
$scope.newItem = "";
Expand All @@ -33,4 +33,4 @@ myApp.controller('MainCtrl', function ($scope){
* - add a due date
* - add reminder (setInterval)
*
* *********************/
* *********************/
7 changes: 6 additions & 1 deletion todo-src/style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
/* Styles go here */
body {

background: grey;
/* Gray is boring */

/*hello*/

background: blue;


}