Giter Site home page Giter Site logo

js-dom-form-todo-list's Introduction

GA Logo HTML Form and DOM Practice


Getting started

We are going to be making a todo list app to practice using HTML forms ๐Ÿš€

  • fork and clone this repo
  • cd into js-dom-form-todo-list
  • create an html file and js file, make sure that they are populated and linked up before you get started

Specifications

Here is what the app will look like:

Todo App

Our app will require:

  • two unordered lists, one for todos and one for finished todos
  • a form to submit a new todo
  • a button to clear the lists completely (it will clear both finished and unfinished todos)

When the user submits the form with text in it, that text will appear as a todo in the list:

With todos

Each Todo should have a button that when clicked, will move the todo to the finished todo list like so:

With Finished

Finally, when the clear button is clicked, both lists should be emptied out:

Todo App

Tips

  • break this down into smaller problems
    • first just display a skeleton of html
    • next, make sure your form is submitting with a console.log
    • then add some text to the page from the user input in the form
    • once that is finished, add buttons to each todo as they are made
  • wireframing can help plan out the html elements you will need

Licensing

  1. All content is licensed under a CC-BY-NC-SA 4.0 license.
  2. All software code is licensed under GNU GPLv3. For commercial use or alternative licensing, please contact [email protected].

js-dom-form-todo-list's People

Contributors

weston-bailey avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.