LWC Bootcamp Day 10 | Assignment Solution | JavaScript Events

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ม.ค. 2025

ความคิดเห็น • 32

  • @axcerneon6379
    @axcerneon6379 ปีที่แล้ว +5

    I got to know about bootcamp through linkedin after watching your videos i started playing around with objects, string & array methods. Now I'm feeling confident with these topics. thank you sir. 👍

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  ปีที่แล้ว

      Happy Learning !! Kindly follow the bootcamp and if you stuck somewhere let me know

  • @manjunathboomreddy7298
    @manjunathboomreddy7298 หลายเดือนก่อน

    Nice one !! assignment completion made me feel more closer to javascript

  • @Dice_297
    @Dice_297 ปีที่แล้ว

    Great examples, explanations..Excellent material, thank you

  • @ranjitabehera9333
    @ranjitabehera9333 4 หลายเดือนก่อน

    Hi Ankit, the way you explain its really easy to understand every bit of the code. Thanks buddy.

  • @ChilllllMahBear_5
    @ChilllllMahBear_5 11 หลายเดือนก่อน

    Awesome way of delivering the content sir !!!!!!!!!!!!!!!

  • @BaluMahendra319
    @BaluMahendra319 11 หลายเดือนก่อน

    Wonderful session.. Thank you so much Ankit...

  • @naveen.udatha
    @naveen.udatha 9 หลายเดือนก่อน

    57:14 document.querySelectorAll('div'); is returning empty NodeList. Do we need to follow any specific format here.


    Document


    Enter Number Here:


    let element = document.querySelectorAll('div');
    console.log('element', element);
    function changeHandler(event) {
    console.log(event.target.value);
    }

    • @naveen.udatha
      @naveen.udatha 9 หลายเดือนก่อน

      It worked when I place at the last of my body tag. For example,
      Enter Number Here:

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  9 หลายเดือนก่อน

      Your js file is loading first then the page. Check it inside the method or load the js file in last

  • @AkashShrirame-u4o
    @AkashShrirame-u4o 11 หลายเดือนก่อน

    Your way of Explanation is too good. Have u covered Event Propagation i.e. Bubbling and Composed Topic in Series?

  • @SauravRedmiNote12
    @SauravRedmiNote12 ปีที่แล้ว +1

    Start a bootcamp on apex development also & bootcamp specific to Sales cloud & Service Cloud all functionalities

  • @numanahmad5148
    @numanahmad5148 ปีที่แล้ว

    loved it

  • @kakorotR
    @kakorotR 3 หลายเดือนก่อน

    Can we use for of loop also instead of array map right sir?

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  3 หลายเดือนก่อน

      For loop is recommended if you have to modify the same array. If you have to generate a new array with modification then go for map

  • @ananyakorrapati3135
    @ananyakorrapati3135 9 หลายเดือนก่อน

    Could you please differentiate when to use for in , for of, for each, map with examples?

  • @utkarshverma7614
    @utkarshverma7614 5 หลายเดือนก่อน

    While you are able to completed the solution in just 2-3 lines...It takes me multiple lines for same logic. For example in first assignment, i write a separate function for callback function of map. I cannot figure our the logic if I want to write it in 2-3 line, but it simple for me when I work this way. Any suggestion.?

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  5 หลายเดือนก่อน

      It's completely fine. Does not matter how many lines it is taking. If you do more practice and solve more problems, you will able to manage in one line

    • @utkarshverma7614
      @utkarshverma7614 5 หลายเดือนก่อน

      @@TechJourneyWithAnkit yes sir. Will come with practice. Will complete the whole bootcamp 👍

  • @amit_karlekar
    @amit_karlekar 5 หลายเดือนก่อน

    Scenario: Write a function that takes a string as input and returns a new string with the first letter of each word lowercased: Example - Input: Hello World, Output: hello world'
    let myStringTwo = 'Hello World';
    console.log('original string:', myStringTwo);
    let myStringToArrayTwo = myStringTwo.split(' ');
    console.log('string coverted to array -', myStringToArrayTwo);
    let stringFirstLetterLower = myStringToArrayTwo.map((currentItem) => {
    return currentItem[0].toLowerCase() + currentItem.substring(1);
    });
    console.log('Array after lower casing of first letter -', stringFirstLetterLower);
    //let arrayToString = stringFirstLetterLower.join(' ');
    console.log('Array converted to string -', stringFirstLetterLower.join(' '));
    would the above approach be incorrect since I have not used a function?

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  5 หลายเดือนก่อน

      Yes this is correct. But if you have to do multiple times same thing then function will be useful

  • @pepeawn6995
    @pepeawn6995 10 หลายเดือนก่อน

    let strEx = "hello"
    console.log(strEx.split(""))
    let return1 = strEx.split("")
    return1.forEach((calc)=>{
    obj1[calc] = (obj1[calc]||0)+1
    })