How to Build a Kanban Board with JavaScript (No Frameworks)

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 89

  • @softwarelivre2389
    @softwarelivre2389 3 роки тому +20

    4:00 one detail is to always put your JS files in the head tag for organization purposes and for faster loading times. If you add the *defer* attribute, it will only run once the whole HTML page gets rendered, but it will already be downloaded. And if you use ES6 script type="module" as you did, then you don't even need to put the *defer* attribute because it will be defered automatically.

    • @leg3ndtariq
      @leg3ndtariq 3 роки тому +1

      thanks man..... for making it clear.

  • @dcode-software
    @dcode-software  3 роки тому +18

    Hey guys!
    Hope you learnt something from today's video. Comment down below if you have any other project ideas or requests 🔽
    If you enjoyed remember to LIKE and SUBSCRIBE for more JavaScript projects and Web Dev Tutorials like this! 🔥
    Sorry for the poor audio quality in this one... I'm getting a new microphone this week 😑

    • @leg3ndtariq
      @leg3ndtariq 3 роки тому

      Im a old viwer but new sub.... love for u...

    • @samsonajulor8689
      @samsonajulor8689 3 роки тому

      This is a very detailed explanation. It made me subscribe to your channel. Can you please help me with the value for the data you used in the local storage. I dont know how to get it sir.

    • @circumz
      @circumz 2 роки тому

      I love vanilla js projects. Thanks dude.

  • @CimotaPosi
    @CimotaPosi 3 місяці тому

    Hello Dom, Thanks for the project, I know it must be hard making these tutorials but keep them coming. you are by far one of the best Coding content creators out there. God Bless

  • @aprilucid
    @aprilucid 3 роки тому +4

    Hi, Dom! I'm building it with your lecture, thanks for sharing this nice tutorial. Just drag and drop part is left now, I'll go for it tmw or so soon. Your video has nice quality of information and it is comprehensive and concise. Stay safe!! :)

  • @blwatson
    @blwatson 2 роки тому +1

    This was incredibly helpful. I have never used JavaScript for anything beyond simple things. Learned a ton and built something with what I learned from you. Thank you!

  • @keropiboy
    @keropiboy Рік тому

    I really love this, i have learned more by looking at this video than by reading a dozen articles...

  • @edohadevelops
    @edohadevelops 9 місяців тому

    DCODE my hero!!!! Respect Gee

  • @abubalo
    @abubalo 3 роки тому +4

    I searched for Trello-like tutorial two days ago but I couldn't find the right tutorial. Thank you Dom for this awesome tutorial. It's been a while since you last uploaded, hope you are good?

    • @dcode-software
      @dcode-software  2 роки тому +3

      Sorry I'm 3 months late but yes I'm good :) thanks for asking

  • @pandasoli6581
    @pandasoli6581 2 роки тому +5

    His localStorage data:
    [
    {"id": 1, "items": [{"id": 72714, "content": "Edit Video 🎨" }]},
    {"id": 2, "items": [{"id": 23844, "content": "Record Video!!! 📹" }]},
    {"id": 3, "items": [{"id": 61584, "content": "Planing 👔" }, {"id": 9019, "content": "Coding 🧑‍💻" }]}
    ]

  • @cerealport2726
    @cerealport2726 3 роки тому +3

    I like these examples a lot. So many useful techniques that can be applied to other projects!

  • @js-javascript1706
    @js-javascript1706 3 роки тому +1

    loving the longer project based videos

  • @barcellos-pedro
    @barcellos-pedro 2 роки тому +4

    Thank you so much for your time and sharing your knowledge with us.
    I really enjoyed building this app and it was really fun to see it working. You're the best!!!

  • @circumz
    @circumz 2 роки тому

    You are talented and hard working guy. Love you

  • @zachfenton608
    @zachfenton608 3 роки тому +2

    very interesting but I cannot seem to get the default array at 19:39 to show default key value pairs for the local storage in the empty items array in the console. I typed the code exactly as shown, but for some reason it is not console logging it back out. Thank you

  • @braids1272
    @braids1272 2 роки тому +4

    Did anyone get this error in the updateItem function?
    I'm so lost to why it "column" is undefined
    Uncaught TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))

  • @hassaneoutouaya
    @hassaneoutouaya 3 роки тому +1

    Thank you Mr. Dom
    I really like the accessibility of the app. it's totally smooth !

  • @mistercoder7411
    @mistercoder7411 Рік тому

    this would be great with import/export function! Great job man!

  • @sundarmanickam4092
    @sundarmanickam4092 Рік тому

    Thanks for the project... Great Explanation 👏

  • @firewithcode
    @firewithcode Рік тому

    Love this tutorial. Thanks for making this video

  • @popados12
    @popados12 2 роки тому +2

    Hi I was wondering if you knew why I would be getting a CORS error from this? Do I have to host the application through some sort of server to get to the data correctly?
    Thanks for the video very informative!

  • @zayyadmuhammadsani6094
    @zayyadmuhammadsani6094 2 роки тому

    Awesome video. I've really learned a lot. Thanks!

  • @CliveSmart
    @CliveSmart 3 роки тому

    Thanks, a great start for my project scheduler application

  • @jertfelt
    @jertfelt 2 роки тому +1

    When I try to do this, I only get "Uncaught SyntaxError: import declarations may only appear at top level of a module" when importing Kanban in main.js

  • @nielapp3831
    @nielapp3831 2 роки тому

    Thank you so much for this great tutorial 🤩

  • @isos6534
    @isos6534 3 роки тому +1

    Is it okay for learning if i watch this video and then start rewrite your code for vue.js?

  • @bobperson28
    @bobperson28 2 роки тому +1

    Got to the end, is anyone having an issue when just wanting to drag one item into another column? when I go to drag an item to another column it selects all the other items in that column at the same time not just the specific one I want to move, please help!

  • @RianY2K
    @RianY2K 3 роки тому

    Thank you for tutorial, it helps to understand dom manipulation with javascript

  • @sateeshmodukuru2
    @sateeshmodukuru2 3 роки тому

    Excellent tutorial! Learnt a few good techniques. One piece of feedback: at 27:46 you point out how one item variable is different than the other one. Seeing stuff like this was so confusing when i was a beginner. I would request you to use a slightly different name for the "item" inside the find function (like currentItem or somethign like that), so it is easily understood by the beginners.

  • @Mohammad-lu1pp
    @Mohammad-lu1pp 3 роки тому

    very cool mate, keep up the hard work

  • @nyxandtyr
    @nyxandtyr 2 роки тому

    Great video, and I'll be taking a look at more of your videos - it's refreshing to see it in vanilla js. I do have a question about saving the cards into a database, for the sake of using this in production, it seems like it would be a lot of db calls. Would it be better to give the user a save button? I don't know a lot about databases.

  • @АлинаЛягинскова-ж5э

    Здравствуйте, взяла все ваши коды, просмотрела весь видеоурок с начала до конца, несколько раз, выдает не то что было показано в начале видео, не понимаю в чем проблема, смогли бы подсказать, к сожалению даже не могу предоставить скрин экрана, где бы можно было с вами связаться и обсудить этот момент?

  • @mingmeng030
    @mingmeng030 Рік тому +1

    I've done everything right. However in chrome, drop event doesn't work at all...

  • @designcoded7585
    @designcoded7585 3 роки тому

    awesome really a great tutorial

  • @ramziaswad3079
    @ramziaswad3079 3 роки тому

    Awesome 👏, thank you….we want Gantt schedule tutorial plz😎

    • @dcode-software
      @dcode-software  2 роки тому

      No worries! And thank you, interesting topic 👀

  • @ludovicmanga8241
    @ludovicmanga8241 2 роки тому

    Amazing !

  • @infodevbrasil
    @infodevbrasil 2 роки тому

    great video, it helped me a lot.
    but I didn't understand where I set the number of columns, can you help me
    to understand better where I define?

  • @kelvincardoso921
    @kelvincardoso921 Рік тому

    Could someone explain to me why the createRange method was used?

  • @samsonajulor8689
    @samsonajulor8689 3 роки тому

    please how do i get the value you used in the local storage. Thats where I am stuck? Help please

  • @leshgabes
    @leshgabes Рік тому

    I started doing everything like on video, typing with my own hands, as a result, at one point it began to show only a green rectangle. I dug through all possible errors, but I didn't find them. In the end, I decided to just make a full copy-paste of the code and still only a green rectangle is displayed on the page. How is this possible?

  • @soniamaklouf1178
    @soniamaklouf1178 3 роки тому +1

    hi dom
    is there any reason for using createcontextualfragment when you can have added this with innerhtml

    • @dcode-software
      @dcode-software  2 роки тому

      It depends, I found contextual fragment to be a bit cleaner in this instance

  • @utsho.sardar
    @utsho.sardar Рік тому

    any idea of how i can put search option in every list?

  • @blue_mustang_
    @blue_mustang_ 2 роки тому

    I get Uncaught TypeError: (intermediate value)() is undefined in the updateItems function , I even copied the code from the repo , I don't know what's going on

  • @aadityagoenka5293
    @aadityagoenka5293 2 роки тому

    Can you tell me how to make this scalable and connect it to firebase? Atleast if you can point me to right direction

  • @locky916
    @locky916 Рік тому

    thanks for project ✌✌

  • @biLLie_wiLLie
    @biLLie_wiLLie 3 роки тому +1

    I like your vanilla js projects. Probably it might be good to compare your code with frameworks code. I mean you show in the end how many code it takes if you write the same project on react or Vue

  • @GerardsDevlog
    @GerardsDevlog 3 роки тому +2

    48:30 i did all as you said on the video and it's not working , what could it be?

    • @user-ck3tx6zu3x
      @user-ck3tx6zu3x 2 роки тому +1

      @Gerard's Devlog, did you ever figure this out? I'm stuck at this spot as well. Recheck all my codes w/ the source code up to this point and there doesn't seem to be anything I could have done wrong.

    • @GerardsDevlog
      @GerardsDevlog 2 роки тому +1

      @@user-ck3tx6zu3x in my case I had to change the reference to the KanbanApi script because It was looking to another direction, check the capital letters. If that doesn't work it could be that you are not working on local server, download xampp and watch a tutorial about how to work on local server with xampp. That's what I've done and now it's working.

    • @user-ck3tx6zu3x
      @user-ck3tx6zu3x 2 роки тому +2

      @@GerardsDevlog hmm I'll look at it again. The console kept giving me an error when trying to reference the Column.js file and Kanban.js in regards to the .children[0].

    • @user-ck3tx6zu3x
      @user-ck3tx6zu3x 2 роки тому +2

      @@GerardsDevlog my error is also stating uncaught type error for the range.createContextualFragment.

    • @GerardsDevlog
      @GerardsDevlog 2 роки тому +1

      @@user-ck3tx6zu3x I just can't help you there right now, if I figure some solution I'll let u know

  • @zainfazal3964
    @zainfazal3964 7 місяців тому

    I tried to follow along, then just copy directly, and in both cases all I'm able to get is just the green background with three columns, each with an Add button?
    Nothing is showing, and the add item button doesn't work

    • @zainfazal3964
      @zainfazal3964 7 місяців тому

      Edit: Never mind, it's working all of a sudden, for some weird reason

  • @shubhp2121
    @shubhp2121 2 роки тому

    How can i connect this code with mysql? Can someone please help me?

  • @onelook1870
    @onelook1870 3 роки тому

    Good one

  • @karthikpuvvula
    @karthikpuvvula 3 роки тому

    Thank you

  • @rangabharath4253
    @rangabharath4253 3 роки тому

    Awesome

  • @skl9942
    @skl9942 2 роки тому

    Thanks!

  • @ojedacortes1
    @ojedacortes1 2 роки тому

    can i conect that code with an some database ?

    • @shubhp2121
      @shubhp2121 2 роки тому

      Did you able to connect this code with some database?

  • @wednydesigner
    @wednydesigner 2 роки тому

    can i build or publish this in a exe?

    • @dcode-software
      @dcode-software  2 роки тому

      If you want to get it in an EXE, you could potentially use something like Electron

  • @dcode-software
    @dcode-software  2 роки тому

    *MORE JAVASCRIPT PROJECT IDEAS:*
    ua-cam.com/play/PLVvjrrRCBy2KvTPJ-HLG4PRqYf-MVJ0h7.html
    🏷 *THE ULTIMATE JAVASCRIPT DOM CRASH COURSE* 👇
    www.udemy.com/course/the-ultimate-javascript-dom-crash-course/?referralCode=DC343E5C8ED163F337E1

  • @vinothrenga1
    @vinothrenga1 2 роки тому

    Thanks

    • @dcode-software
      @dcode-software  2 роки тому

      You're welcome. Thank you so much for the donation!!

  • @mrrager9224
    @mrrager9224 2 роки тому

    Really wish this was java

  • @pratikgohil7821
    @pratikgohil7821 3 роки тому

    🙂

  • @swoorp
    @swoorp 3 роки тому

    eyyy, im first