To Do App Using HTML, CSS and JavaScript (Drag & Drop)|Project #10/100

Sdílet
Vložit
  • čas přidán 26. 08. 2024
  • Welcome to the 10th project of 100 Web Projects Series.
    In this video we're going to create a draggable to do app using HTML, CSS & JavaScript. In addition, you will learn how to work with drag and drop API of JavaScript and how to do some basic DOM manipulation.
    If you liked it don't forget to smash that like button and hit the subscribe button.
    ▶ Follow & Subscribe
    / python_bootcamp
    / basirpayenda
    Source Code:
    bit.ly/3rj2hYP
    Create Modal Tutorial:
    • How To Create & Open M...
    LIKE AND SUBSCRIBE :D
    #todo #WebDevelopment #WebDesign

Komentáře • 45

  • @dominicschneider1018
    @dominicschneider1018 Před rokem

    THANK YOUUU😭😭
    I had the problem that I cant drag and drop new created items and for days no solution in the internet worked.
    BUT YOU ARE DID IT WITHIN SECONDS😭😭
    I LOVE YOU AND I'M GLAD YOU DID THIS VIDEO

  • @rockypointapp
    @rockypointapp Před 2 lety +1

    Do you think you can make a tutorial on how the data is saved on the board? please

  • @pantaleogerminario2882
    @pantaleogerminario2882 Před 7 měsíci

    First of all: Great content! I don't know if you said it, but if I add a submit button on the main page, how can I have the information about what boxes are under each column?

  • @tomasgonzalez4819
    @tomasgonzalez4819 Před 2 lety +3

    Awesome video! Great stuff! Now to the elephant in the room... How to _save_ the changes for later use?! I would love to see a json option 🙏 Regardless, this video was really well-done!!!

    • @somthing7286
      @somthing7286 Před 3 měsíci

      please!!! is there a way to implement mysql to save changes?

  • @basirpayenda
    @basirpayenda  Před 3 lety

    Sorry for drowsy voice, I was sick.

    • @s7mo
      @s7mo Před 2 lety

      This is EXACTLY what I needed to learn!!! Thank you soooo much. I got it working on the PC. Is there some tweak needed to make it work on the phone and tablet? I'm using @media to auto adjust the adaptive layout. I can't seem to move the todo's on a phone or tablet but it works perfectly on a PC! Great video. You gained a subscriber!

    • @s7mo
      @s7mo Před 2 lety

      Hi Basir (or anyone else that reads this)... I got all of this working and created a Stackoverflow with Snippet. If you know how to align the touch commands for mobile to the drag commands, can you comment on the stackoverflow? "Drag and Drop - Works on PC but not mobile. Trying to modify mobile code unsuccessfully" Thanks again!!!

  • @panchanandeka1610
    @panchanandeka1610 Před 2 lety

    Thnks a lot brother ❤ it is life changing for me... Again thanks a lot❤

  • @amelselimovic7988
    @amelselimovic7988 Před 3 lety

    Awasome. Amazing tutorial and greate learning skils. Greetins my friend

  • @pratibhayadav4916
    @pratibhayadav4916 Před rokem

    Sir what changes we need to do for adding description of task

  • @deegas
    @deegas Před 2 lety

    Good morning Basir! Could you not help us by showing how to save the data in LocalStorage? I've tried in several ways but without success! Hugs from Brazil

  • @eliasimokhai
    @eliasimokhai Před 3 lety +1

    Great content

  • @rishavpapaji5349
    @rishavpapaji5349 Před rokem

    this code has a lot of problems such as if I submit a empty string is stills submits it and if i change the size of screen headed shows weird issues the round corner of modal also have issues refreshing the page will remove all the entries and many more

  • @s7mo
    @s7mo Před 2 lety

    Is it possible to have several todo-containers on a single page and each has a unique id and the dragging would only be within each uniquely id'd container? Can the existing functions be modified to accommodate this or is a different approach needed?

  • @onganimagwala4547
    @onganimagwala4547 Před 2 lety

    my drag and drop drags all the items in the list at once.do you know what might be the problem?

  • @Ghost-oy5vt
    @Ghost-oy5vt Před 2 lety

    could you please tell me how i could make the todo editable ?

  • @theman7050
    @theman7050 Před 2 lety

    This is ace! Thanks man.

  • @MrRanzikie
    @MrRanzikie Před 2 lety

    I'm still new to this. Followed the tutorial with no problem.
    Does anyone knows if it's possible to limit the draggabletodo for each class status.
    like for example i can only drag 3 todo in each status if more than 3, it disables the drop function.

  • @archerlee8091
    @archerlee8091 Před rokem

    super !

  • @ld2711
    @ld2711 Před 3 lety

    Wonderful, great! Thanks a lot...

  • @marciomartha8615
    @marciomartha8615 Před 11 měsíci

    Muito bom dragdrop

  • @mohammadkhavari6443
    @mohammadkhavari6443 Před 2 lety

    Cool todo app, but there is a bug. It is not possible to place the item from the bottom to the top but from top to bottom is possible please give the solution to how to do it.

  • @AbuRaihan-ed9ef
    @AbuRaihan-ed9ef Před 3 lety

    Wow, Amazing 💜💜💜💜💜💜💜

  • @TheCodeApprentice
    @TheCodeApprentice Před 3 lety

    Thanks very much Basir for this awesome app. Please can you add code to allow the list to remain in place even after closing the browser window or refreshing the page. Thanks.

    • @basirpayenda
      @basirpayenda  Před 3 lety +3

      Thank you, for that we need to either integrate it to a database like PostgreSQL using node, Django or store it locally using local storage. I note it, maybe in future.

    • @TheCodeApprentice
      @TheCodeApprentice Před 3 lety

      @@basirpayenda Thanks very much.

    • @amizbox
      @amizbox Před 2 lety +1

      @@basirpayenda Thank you , do it , sir :)

  • @joshuawinter5784
    @joshuawinter5784 Před 3 lety +1

    Great tutorial. Do you know how you could save the to do list when refreshed? I was thinking using a database by using php, mysql to log the data on there, but I am having troubles connecting the javascript with php.

    • @The_Auslander
      @The_Auslander Před 2 lety

      Hi if its not for production you can use the local storage if you dont wanna mess with databases , or you can use nodejs as back end and use javascript to enter stuff in database and probably mongodb would be easier to use with node

    • @s7mo
      @s7mo Před 2 lety

      @@The_Auslander Is there a php, javascript way to hand off the data to mysql?

    • @s7mo
      @s7mo Před 2 lety

      Did you figure a solution out? I also want to pass the data to php to input into MySQL. What solution did you find?

  • @mdsabbirahmed1729
    @mdsabbirahmed1729 Před 3 lety +1

    Will you Please show me a way to save this data in the database?

    • @basirpayenda
      @basirpayenda  Před 3 lety

      There're plenty of options when it comes to storing the data and it varies depending what backend language do you use, but the concept is the same\ You simply create a table or model to store todos and add fields to it then connect them to front-end.

    • @s7mo
      @s7mo Před 2 lety

      @@basirpayenda What about storing the status updates from the dragging in php to mysql?

  • @alicoskun825
    @alicoskun825 Před 2 lety

    Please can you explain how to stop having "buy pizza" every time the page is refreshed...

  • @letsdoeverythinginoneweek9398

    bro can u clear my one doubt
    how you use
    #no_status id in javascript
    you not call this id in javascript file
    but it works
    how????

    • @basirpayenda
      @basirpayenda  Před 3 lety +1

      This's new in JavaScript, you can access HTML elements with `id` attribute in JavaScript through value of its `id` and you don't have to do something like `document.getElementById('idHere')`, but unfortunately it isn't supported across all major browsers.
      For instance:
      In HTML:
      Test Text
      then in JS:
      test.style.backgroundColor = 'red';
      No need to do `document.getElementById('test')`

  • @kalahari8295
    @kalahari8295 Před 2 lety

    🥺❤️👊🏾

  • @learningislife2934
    @learningislife2934 Před 3 lety

    Js tutorial please sir

    • @basirpayenda
      @basirpayenda  Před 3 lety

      I am working on 100 Projects, so far uploaded 19 projects. Check them out