Trello v2 in javascript

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

Комментарии • 103

  • @jenendarrathore8575
    @jenendarrathore8575 3 года назад +1

    Those who are geting confusted
    "todo" is just a parameter in every function its not related our main myToDo,
    if you want you can change toDo to anything you want , (for example functionParameter)
    just make sure , .meetings is still present because its our main object's property which is updated.

  • @TheRicokilla
    @TheRicokilla 4 года назад +11

    After 20 episodes, I finally come to the part where I don’t know what’s happening... Todo? Reset? Nan?

    • @hrhrhrj
      @hrhrhrj 3 года назад

      Bro took word out of my mouth

  • @rabindrajoshi9258
    @rabindrajoshi9258 6 лет назад +14

    *meetDone = meetDone + meet* and *meetLeft = meetings - meetDone*
    would be what my common sense would have accepted, my two cents!
    It felt like forcefully deviating from a job to explain a particular logical error.

    • @hardik.motwani
      @hardik.motwani 5 лет назад

      Yeah exactly, it looks good

    • @manibhushanabhishek687
      @manibhushanabhishek687 5 лет назад +1

      Can You Please explain Why they had take todo as function's Parameter?

    • @rajshekharrakshit9058
      @rajshekharrakshit9058 4 года назад +1

      i Did it in the same way , as we are counting the no. of meeting we have completed

    • @sivagangadharreddykomma5419
      @sivagangadharreddykomma5419 4 года назад

      I am also getting same confusion

    • @tusharkadam7471
      @tusharkadam7471 4 года назад

      @@manibhushanabhishek687 Sir they had to do that because when calling the function we are passing an object. So todo here refers to that object.

  • @nomeshg
    @nomeshg 6 лет назад +9

    Trello v2 went a little wrong:
    the meetdone method should be:
    let meetDone = function (todo, meetingsDone = 0) { todo.meetDone = todo. meetDone + meetingsDone
    }
    This increases the readibility and if any one later require only the meeting done count we have proper value to return.

    • @HiteshCodeLab
      @HiteshCodeLab  6 лет назад +8

      Then how would it be possible to explain the logical error in this video ?

    • @renjithroy8422
      @renjithroy8422 6 лет назад +2

      Hitesh Choudhary You don't have to be rude sir, you can just say it's for explaining logical errors.

    • @nomeshg
      @nomeshg 6 лет назад +3

      Was it really a rude reply?? @hitesh choudhary. I thaught that it was a decent answer in a question itself.

    • @renjithroy8422
      @renjithroy8422 6 лет назад

      nomesh gajare It may not be so rude but I believe it's not the most polite way to give answer. Also why I said this is cuz sometimes he makes fun of people in the comments. I have seen it myself.

    • @HiteshCodeLab
      @HiteshCodeLab  6 лет назад +2

      Chill dude, that was just a statement.

  • @syedsameer2863
    @syedsameer2863 5 лет назад

    Great approach...tredo is great way to revise all the concept...Great teaching....way to approach complicated topics is really incredible

  • @johng5295
    @johng5295 5 лет назад

    Thanks in a million. Great teachers are hard to find.

  • @mahmoodkashmiri
    @mahmoodkashmiri 6 лет назад +10

    Sir meetDone was still -ve can't we fix it using todo.meetDone = todo.meetDone +meet

  • @sachintiwari5871
    @sachintiwari5871 6 лет назад

    Great sir.... I learn something new in JavaScript..... Even it is not there in my syllabus..... Thanks brother

  • @Faizyxyz
    @Faizyxyz 4 года назад

    hi Hitesh can you please explain what have you used todo as function parameter and how it is accessing the element of object

  • @debikasamanta4982
    @debikasamanta4982 5 лет назад

    You courses are really good sir..

  • @debasishdebnath3793
    @debasishdebnath3793 4 года назад

    Hitesh sir what the todo refers in the parameter? I could understand the meet parameter. Moreover, the object name is myTodos. Why we are writing todo.meetings? If possible could anyone clear me the concept?

  • @mohitkumar-ww5ju
    @mohitkumar-ww5ju 6 лет назад +2

    sir i have a question.
    here meetDone is a property in myTodos object.
    also meetDone is a function name in this program.
    then why error is not flaged during execution??

    • @AjayJain-ef2mz
      @AjayJain-ef2mz 5 лет назад

      something declared within curly braces is consdered local (variable) and is not accessible outside the braces. Search 'scope in js' for more information.

  • @shashgo
    @shashgo 5 лет назад

    hi, you defined the class myTodos, but when you call the function, say addMeeting and pass the parameters todo, and meeting = 0, how does the computer know that the parameter todo refers to the myTodos object. In other words, when I type todo and then a period, how does the computer show the properties and methods of the myTodos object?

  • @adityar
    @adityar 5 лет назад

    Hi Hitesh, thanks for the video and its really helpful.
    We can also write meetDone as todo.meetDone = meet - todo.meetDone
    In this case we would be avoiding the debugging problem

    • @manibhushanabhishek687
      @manibhushanabhishek687 5 лет назад

      Can You Please explain Why they had take todo as function's Parameter?

  • @manibhushanabhishek687
    @manibhushanabhishek687 5 лет назад +1

    Thank You, Sir, U made me confident that I can learn things.

  • @muhammadaqibbinazam
    @muhammadaqibbinazam 6 лет назад

    Sir , can we assign direct value of meet To todos.MeetDone or todos.TotalMeeting?? Instead of subtracting up and then adding again for minus plus case ???

  • @Bajrang.707
    @Bajrang.707 5 лет назад +1

    Lovely one!

  • @natureonearth4459
    @natureonearth4459 4 года назад

    sorry to ask, can andybody tell me what is this todo ? is this MyTodo todo is same ? because we are accessing object values todo. meeting etc etc. how

  • @pavanjadhaw
    @pavanjadhaw 6 лет назад +2

    Congratulations for silver play button. 😉

  • @himeshsolanki5199
    @himeshsolanki5199 6 лет назад

    Which package you are using for snippets ??...

  • @obedodai3389
    @obedodai3389 4 года назад

    Hello Sir, could you please explain todo.meetings = todo.meetings + meet? It's a bit confusing. Thanks

  • @ankurpanwar7010
    @ankurpanwar7010 3 года назад

    when we were passing object todo as a parameter in all the functions, weren't we suppose to pass myTodos as the parameter instead of todo . Please clarify if someone knows

  • @abhijitthorat9296
    @abhijitthorat9296 6 лет назад

    Waiting for ur next video is like waiting for bahubali 2 after watching बाहुबली 1.. Really its awesome feeling.. In each video we start with excitement of learning new things..

  • @whoami-lm3cc
    @whoami-lm3cc 5 лет назад

    Instead of changing - to + in getMySummaryOfDay, You can change - in meetDone function. So That meetingDone will not be -5.

  • @hardik.motwani
    @hardik.motwani 5 лет назад

    meetDone is a property in myTodos and meetDone is a function also, so can we create function name same as property or variable name? it can be confusing in large program

    • @BUJU2007
      @BUJU2007 5 лет назад +1

      He admitted that the naming scheme was not very good. It was just for instruction purposes.

    • @hardik.motwani
      @hardik.motwani 5 лет назад

      @@BUJU2007 ok thanks

  • @sivagangadharreddykomma5419
    @sivagangadharreddykomma5419 4 года назад

    Hey bro I have small doubts
    meetleft =total meeting - meetdone
    But u said oppositely I didn't get u r point can u plz give me solution

  • @fahadhafeez8086
    @fahadhafeez8086 5 лет назад +1

    one of the difficult video to watch. Today i know that i am very beginner.

  • @zinyt2.0
    @zinyt2.0 Год назад

    i didn't understand what did u done in whole episode sir , very confusing

  • @rajshekharrakshit9058
    @rajshekharrakshit9058 4 года назад

    instead of changing this to + we can change the (-) in meetDone function and make it (+), as we are counting the no. of meetings that has already been done .

  • @emiliajiang6515
    @emiliajiang6515 6 лет назад +1

    Would somebody help explain something very basic, todo.meetings = todo.meetings+ meet, here what is the "todo" is it an object or an function o what? thank you very much!

    • @debabratasen6955
      @debabratasen6955 5 лет назад

      hey did you did you get the the explaination??? if yes then please tell me

    • @hardik.motwani
      @hardik.motwani 5 лет назад +1

      todo is a parameter which stores object, so todo is also an object

  • @neeelproduction9540
    @neeelproduction9540 6 лет назад

    Sir i have a question which one have a great scope a network engineer or software engineer in canada ...

  • @divakarsrivastava3554
    @divakarsrivastava3554 6 лет назад

    Next version of everything be always Cool 😋👌

  • @sagarkumarvbudihal5194
    @sagarkumarvbudihal5194 5 лет назад

    I'm getting "Nan" what is the solution for this plz help me..

  • @arijitbag1165
    @arijitbag1165 4 года назад

    Add this line
    todo.meetdone = meet - todo.meetdone
    instead of
    todo.meetdone = todo.meetdone - meet

  • @ayajmemon4606
    @ayajmemon4606 4 года назад

    in "meetdone" if (todo.meetdone=todo.meetdone+meet) this problem would not arrive

  • @niharranjanbhuyan9839
    @niharranjanbhuyan9839 6 лет назад

    Can we add functions inside a function??

  • @THWUFAILUZAMAN
    @THWUFAILUZAMAN 5 лет назад +1

    when iam adding
    let meetleft = todo.meetings + todo.meetDone
    and printing to console by
    console.log(meetleft )
    The output is : NaN
    can anyone please explain me why and how to solve this..

    • @timoba2523
      @timoba2523 5 лет назад

      same problem

    • @THWUFAILUZAMAN
      @THWUFAILUZAMAN 5 лет назад +1

      @@timoba2523 I figured out my problem my problem was a typo mistake I type todo.meetDone but actually it is todo.meetdone. now the problem is solved

    • @timoba2523
      @timoba2523 5 лет назад +1

      @@THWUFAILUZAMAN haha I made the same mistake

  • @yashshende2786
    @yashshende2786 6 лет назад

    Trello version 2.0 awesome

  • @aizen58
    @aizen58 5 лет назад

    Sir, what the really use of it in js.

  • @sourabhsharma2746
    @sourabhsharma2746 5 лет назад

    todo.meetdone = todo.meetings-meet
    as simple as isn't it ?

  • @sumitpramanik1
    @sumitpramanik1 6 лет назад

    Sir please do a series on python

  • @missdubewadpunamgovind6157
    @missdubewadpunamgovind6157 4 года назад +1

    When I run the code it is giving me 'NaN' instead of any number can anyone help me?

    • @faizaslam9125
      @faizaslam9125 4 года назад

      You are doing some basic problem. Save your program first and then run it

  • @amitkeshari7023
    @amitkeshari7023 6 лет назад

    how to know todo is an instance of myTodods ?

  • @BBGVIDEOS
    @BBGVIDEOS 6 лет назад

    Amazing video sir

  • @saidulam8306
    @saidulam8306 4 года назад

    Can some one plz explain what is the role of reset() function !
    thank you

    • @faizaslam9125
      @faizaslam9125 4 года назад

      It will reset every data. And give us everything 0. So we can start the other day.

  • @astrix8812
    @astrix8812 4 года назад

    5:13 I see what you did there. xDD

  • @Technoholicplus
    @Technoholicplus 4 года назад

    At 6:38 what was that background sound, I got scared, I felt something happened in my room.

  • @sanaquazi1386
    @sanaquazi1386 5 лет назад

    I am not getting out, my output is "You have NaN meetings today" I am not getting value here, Any one can help?????

    • @natureonearth4459
      @natureonearth4459 4 года назад

      sana wehre you from. i am frm lahore. are you getting any help?

    • @AYANN1000
      @AYANN1000 4 года назад

      @@natureonearth4459 yes please

  • @Raj-sk3vc
    @Raj-sk3vc 5 лет назад

    i heard meet 'a million times' and i am now completely lost... need a break 🤦🏼‍♂🤦🏼‍♂

  • @monikanb6120
    @monikanb6120 4 года назад

    I can't understand its confusing 😞

  • @mukeshphulwani5972
    @mukeshphulwani5972 6 лет назад

    Why you are not putting semicolon in your statement is not necessary??

  • @ruhankhandaker5198
    @ruhankhandaker5198 6 лет назад

    hey, where is my comment,, I did comment. wth

  • @abhijitthorat9296
    @abhijitthorat9296 6 лет назад

    Again 1st one to watch..

  • @jasonkadayat8168
    @jasonkadayat8168 5 лет назад

    My output is NaN

  • @pavanjadhaw
    @pavanjadhaw 6 лет назад +1

    I am first, but I won't get heart. 🙁

  • @natureonearth4459
    @natureonearth4459 4 года назад

    please help me here

  • @sumitsingh7505
    @sumitsingh7505 6 лет назад

    first