October 2016
Intermediate to advanced
364 pages
9h 8m
English
We’ve only implemented code to get a list of tasks, but let’s not write more code until we integrate the current code into an HTML page and see it live in action. You saw a design sketch for the UI in Create a Strategic Design, it’s a good time to put that into an HTML file.
| | <!DOCTYPE html> |
| | <html> |
| | <head> |
| | <title>TO-DO</title> |
| | <link rel="stylesheet" href="/stylesheets/style.css"> |
| | </head> |
| | <body> |
| | <div class="heading">TO-DO</div> |
| | <div id="newtask"> |
| | <div>Create a new task</div> |
| | <form> |
| | <label>Name</label><input type="text" id="name" /> |
| | <label>Date</label><input type="text" id="date"/> |
| | <input type="submit" id="submit" value="create" |
Read now
Unlock full access