-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Description
Can we split the DOM-creation and mount code into it's own file elmish.js and use it as an opportunity to create a basic Todo List using TodoMVC styles?
Tasks
- Split any generic functions into a separate file called
elmish.js(independently tested)-
empty- Empty all DOM nodes -
mount- mount the app to the root DOM node.
-
- DOM Creation Functions
-
<section> -
<div> -
<ul> -
<li> -
<input> -
text -
<h1> -
<header> -
<label> -
<footer> -
<span> -
<strong> -
<a>
-
- Router: e.g:
/#/activeRudimentary Routing in a Client-side Web Application: Why? What? How? #46 -
localStorageSaving / Retrieving Data to/from localStorage #47 - "Helpers"
- Attributes
-
id -
class -
data-id -
for -
type -
autofocus -
style -
placeholder -
href -
checked
-
- Child Nodes
- Attributes
- Biz Logic! [Epic] TodoMVC Feature List #48