Giter Site home page Giter Site logo

workshop_todolist's Introduction

JavaScript 工作坊 To Do List

專案準備及提交

  1. fork 此 repo 到自己的 Github ,並 clone 到自己電腦
  2. master 保護起來,禁止推 master branch
    • 到自己的 repo > Settings > Branches > Branch protection rules > add rule 設定
  3. 每個功能都開一個 branch 進行
    • 舉例: feature/Complete_task_add_checked
  4. 完成後,發 PR 到自己的 repo 並且自己 merge 進 master

任務: 完成 To Do List 功能

  1. 點擊任務標記是否完成
    • 點擊 li 新增/移除 checked class
  2. 點擊 x 刪除任務
    • 點擊 span (後面那個 x) 可移除任務
  3. 輸入新任務名稱, 按下+新增任務
    • 取得 input 輸入的文字
    • 按下 + 可以新增任務(li)
    • 新增的任務也有標記/移除功能
  4. (加分題) 拖拉任務
    • 透過 HTML Drag and Drop API 完成,可參考 (04_bonus-drag)

建議使用原生 JavaScript 實作,所有程式都會寫在 main.js 檔,不會修改到其他檔案。

workshop_todolist's People

Contributors

annnndie 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.