Coder Social home page Coder Social logo

jquery-todo-atx's Introduction

General Assembly Logo

Welcome to the jQuery 'ToDo List' Lab

Objectives

By the end of this, students should be able to:

  • Structure a jquery app to manipulate DOM elements.
  • Append items to a list.
  • Modify the status of items in a list - BonusπŸ†.
  • Remove Items on a list - BonusπŸ†.
  • Persist Items to localStorage - BonusπŸ†.

Here's a basic example of what we'll be building today 😺

grumpy cat todo

Grab your starter code here, and let's get started!

Instructions

  1. Create a single page todo app, where you can add items to a list (things to do). Everything should go away if the page is refreshed.
  2. Besides jQuery, your project will rely on the basic use of forms, here's some useful documentation for your to check out.
  3. Think of ways you could target your form with jQuery, how can you grab text inputted from the user? πŸ€”
  4. Consider using event listeners that respond to user-triggered events such as a .click(), .dblclick(), or a keypress like enter.
  5. jQuery has some of the best documentation on the web. Check it out here 🌎 .
  6. Be sure to test your jQuery logic in steps with console.log(), you'll detect faults faster this wayπŸ’‘.
  7. Keep in mind that getting stuck is part of the process, work in pairs to find a solution and innovate your way to success.
  8. When in doubt, use Slack! πŸ˜…

πŸ† Bonus Section πŸ†

Congratulations for getting this far, now that you're able to interact with the DOM with jQuery, let's add these features...

  • Add functionality that allows you to mark each item on the list as complete, and/or be deleted from the list.
  • Create a way to edit the name/text of a todo item when you click on it.
  • Use information from our prior lesson's material to persist your list to localStorage.
  • Use the provided style.css file to add some styling to the page.
  • Add an image to your page like the example shown above.

jquery-todo-atx's People

Contributors

azrael-irl avatar cippero avatar

Watchers

James Cloos 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.