Please enable JavaScript.
Coggle requires JavaScript to display documents.
Javascript Projects, git hub users, calorie tracker, book list, task list,…
-
git hub users
register app with Github
-
-
create file structure
-
create UI
-
-
fetch profile data
-
-
-
app.js → instantiate new GitHub object top
-
-
-
-
git hub finder
-
return profile, list of repositories
-
-
calorie tracker
-
-
Build UI
-
Build Controllers
-
populate items
Add Item to Data
Add Item to UI
display total calories
the edit state
update functionality
-
-
update in data structure → updateItem(name, calories)
on ItemContorller
-
delete and clear
- 4 more items...
-
setIntiState()
→ hide edit ctrl, show add ctrl, clear inputs
-
-
-
add item
-
-
insertAdjacentElement(beforeend, listItem)
-
-
-
-
-
Item Controller
create item constructor
data (state) → items, currentItem, totalCalories
-
-
-
book list
construct UI
-
-
-
add book to list
build book constructors
-
function Book(title, author, isbn) { ... }
-
-
-
instantiate new book
const book = new Book(title, author, isbn);
-
-
validation and alert
-
UI.prototype.showAlert = function (message, className) { ... }
-
-
-
-
-
-
-
task list
process
Create UI
Define UI Variables
-
task list, clear button, filter, task input
-
-
-
-
load calculator
-
process
Create UI
-
create files (app.js, index.html) and img folder → include script tag ;-)
create containers
-
create centered card
-
-
create results
-
payments, total payment, total interest
-
-
-