Javascript in 1 shot in Hindi part 2

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

КОМЕНТАРІ • 1,5 тис.

  • @ABHISHEKGUPTA-vi8ks
    @ABHISHEKGUPTA-vi8ks 9 місяців тому +292

    I completed both parts, believe me, it's a gem. It will be worth watching it! Thank you Hitesh Sir ❤

    • @chaiaurcode
      @chaiaurcode  9 місяців тому +115

      My pleasure 😊☕️🙏

    • @TradingTales
      @TradingTales 6 місяців тому +2

      agreed

    • @abhirupdey1591
      @abhirupdey1591 6 місяців тому +4

      I agree boss it is a GEM man i dont think any teacher can teach with this honesty and dedication and ofcourse in depth. Hitesh Sir huge respect to you. We as tech learners will definitely wait but keep on bringing such courses no wonder how much time it takes. Amazing

    • @akworld2739
      @akworld2739 5 місяців тому

      is it a last part

    • @rohithapudu5323
      @rohithapudu5323 4 місяці тому

      @@akworld2739 no

  • @AftabAliKhanofficialno1
    @AftabAliKhanofficialno1 7 днів тому +2

    I like this long video and want more like that in detail keep it up 🎉❤

  • @mdshehbaz1051
    @mdshehbaz1051 6 місяців тому +13

    Javascript in 1 shot in Hindi Part 1 and Part 2 🤍 complete in 12 days Happy😎😎🤩🤩

  • @laxminarayana_07
    @laxminarayana_07 6 місяців тому +16

    Project Section Timestamp -
    1:52:00: Color Changer
    2:14:05: BMI Calculator
    2:31:06: Digital Clock
    2:38:34: Guess Number

  • @anujnandwana1080
    @anujnandwana1080 11 місяців тому +248

    To anyone who is getting scared by the length of the video, I would say it is absolutely worth your time. Great series thank you, sir.

    • @Mystery_depth
      @Mystery_depth 11 місяців тому +3

      i agree'

    • @techgyan6233
      @techgyan6233 10 місяців тому +8

      It's not about 30 days english course.

    • @baazigar5
      @baazigar5 8 місяців тому +3

      Is this complete JS?

    • @mohammadzaid5246
      @mohammadzaid5246 7 місяців тому +2

      yes, Complete se bhi zyada he bhai@@baazigar5

    • @shivamrana2130
      @shivamrana2130 6 місяців тому +2

      @@baazigar5please refer to part zq first

  • @2930harsh
    @2930harsh 8 місяців тому +16

    I am a 4th year IT student , And I am watching this video for my interview preparation , love the way he is teaching , the clarity of concepts he is providing and the completeness of the concepts.

  • @akashthoriya
    @akashthoriya Рік тому +74

    Thank you for your amazing JavaScript videos! I've been learning a lot from them, and they've been really helpful in my journey to become a better JavaScript developer.
    I especially appreciate the way you explain complex concepts in a clear and concise way. Your videos are always well-organized and easy to follow.
    Thank you again for all your hard work!

    • @youngsgrowth
      @youngsgrowth Рік тому +2

      10:09:32

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

      @@youngsgrowthGreat story 🔥

    • @bhaviljainnnnnnn
      @bhaviljainnnnnnn 11 місяців тому +4

      are both parts enough to crack a job?

    • @akashthoriya
      @akashthoriya 11 місяців тому +9

      @@bhaviljainnnnnnn Both parts will help you to clear Javascript concepts. Use both parts as base and build projects on it, then you will master each and every concepts.
      Interview questions are entirely depends on job you are going to apply. But with strong base of Javascript concepts and 2 industry grade projects, you'll feel confident to face any Javascript Interview.
      We are always learning by doing,
      All the best 👍

    • @yoyo9122
      @yoyo9122 8 місяців тому

      ​@@akashthoriyaI start this course without knowing html?

  • @ShravanKumar-wg9pv
    @ShravanKumar-wg9pv 4 місяці тому +2

    Hithesh Anna(Bhai) Back end shurukarne keliye hame kya previous knowldege hone chayiye?? kis programming language master karne chayiye???

  • @jenifaarjumand489
    @jenifaarjumand489 8 місяців тому +23

    Pichle 3 saal se bhut Sara videos dekha hai lekin ap ke videos jaisa itna accha koi video nhi laga, itna easy tarike se ap details me samjhate hai wohi bhut helpful hai hum jaise students ke liye. apka Jo har ek chiz me consistency rakhte hai woh bhut acha lagta hai,, jitna vi tarif Kiya jaye kaam hi hoga apke liye. Thank you very much sir 🙏🏻

  • @sunilraj8849
    @sunilraj8849 14 днів тому +1

    Thank you, Hitesh sir! I have learned so many things. You don't know how much you're helping us Thank you, Thank you....🙏🏻🙏🏻.

  • @triggeredarmy3284
    @triggeredarmy3284 5 місяців тому +4

    Starting part 2 at 16 April 11:46 PM

  • @mohdhusainkhan767
    @mohdhusainkhan767 3 місяці тому +1

    Thankyou sir sir pls continue the quality which you delever

  • @musicmelodies8313
    @musicmelodies8313 9 місяців тому +15

    Never thought that someone could teach that well.
    Tried several sources but believe me, you will never get the quality content He is teaching anywhere. ❤❤

  • @timepasi
    @timepasi Місяць тому +1

    start and stop timer //making start and stop timer
    ////////setInterval()/////////////////////
    const sayDate = function(str){
    console.log(str, Date.now())
    }
    let intervalId=setInterval(sayDate, 1000, 'hi')
    //start
    document.querySelector('#start',).addEventListener('click', function(){
    //this will be continues infinitely
    console.log('STARTED')
    intervalId= setInterval(sayDate, 1000, 'hi')
    })
    //stop
    document.querySelector('#stop',).addEventListener('click', function(){
    clearInterval(intervalId)
    console.log('STOPPED')
    })

  • @Developer._.Abhi.
    @Developer._.Abhi. 3 місяці тому +6

    By Far The Best JS series available across the Internet ..... Thanks Sir For Providing This Series For Free ❤

  • @harshvardhan1214
    @harshvardhan1214 9 місяців тому +12

    Today on 17th , December 2023 I finished this playlist . I am feeling so confident in Javascript now , I will start making some projects on Js as soon as possible . Thankyou Hitesh Sir! This is a wonderful playlist . Please never stop making videos.

    • @tauseef.shaikh
      @tauseef.shaikh 9 місяців тому

      when did you start

    • @i_am_groot3787
      @i_am_groot3787 9 місяців тому +1

      i cannot understand how putting if condition it starts working at 4:49:50🙏🙏🙏🙏can u help

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

      ​@@i_am_groot3787that if condition and setting to null was just part of optimised code you don't necessarily need to do that.
      The reason why it starts working is because !intervalId = !(null) = !(false) = true, and if condition runs on true

  • @CodeDaily29
    @CodeDaily29 3 місяці тому +2

    Sir chai ki galat habit lg gyi h 😂

  • @mdsamar419
    @mdsamar419 10 місяців тому +8

    Quantity + Quality + Free = feels like a Wow. Thanks Hitesh,You are such a Amazing Creature in this Industry. keep it on please😍

  • @sagarverma6399
    @sagarverma6399 8 місяців тому +1

    4:35:45
    const startV=document.querySelector("#start")
    const stopV=document.querySelector("#stop");
    let intervalId

    startV.addEventListener("click",()=>{
    intervalId=setInterval(()=>{
    console.log(Date.now())
    },1000)
    })
    stopV.addEventListener("click",()=>{
    clearInterval(intervalId)
    console.log("Stopped")
    })

  • @saritamaurya2198
    @saritamaurya2198 5 місяців тому +4

    I have completed both part sir 🎉 believe me first time I feel confident in js . Thank you so much sir for amazing series . Kash ap 3 Sal pahle mile hote to aaj 3 Sal ka experience hota JS me .

    • @dev-babar
      @dev-babar 5 місяців тому

      English channel to tha inka. Well, der aye, durust aye : )

  • @fullstackdev71
    @fullstackdev71 8 місяців тому +9

    I started this series on 27/11 and today I completed it and I can definitely say that it was the best series till date and now I know a lot than I knew JS earlier.It took time for me to complete for I can say to all the peeps who will visit this in future that it would a very beautiful learning journey .Thanks sir ….Next goal React 😎.

    • @k.vabhavmishra
      @k.vabhavmishra 8 місяців тому +1

      on the way

    • @SDE_FACT
      @SDE_FACT 8 місяців тому

      I have recently completed part 1 and now i am in part 2. This is literally the best series ❤

    • @baazigar5
      @baazigar5 8 місяців тому

      Is this complete JS?

    • @SDE_FACT
      @SDE_FACT 8 місяців тому

      @@baazigar5 look its not like that.... But it covers almost everything. Hence, if you want to learn js then u can go with this series

    • @SDE_FACT
      @SDE_FACT 8 місяців тому

      @@baazigar5 whether u talk about HTML , CSS or JS. or any frameworks all of them have alot of concepts and functions in them....But the thing that matters is if you are able to fulfill the requirements or not?
      So, one should not be focused on completing every single thing in JS but he/she should focus on what exactly matters.

  • @naumaankhan1607
    @naumaankhan1607 Рік тому +4

    Series Aisi banao ki log apne youtube teacher ko bhul jaaye aur hitesh sir ko yaad kare

  • @pathe6158
    @pathe6158 4 години тому

    Thank you so much sir this beautiful JavaScript Series. 01/10/20224 I complete my JS series. Again, thank you sir 💖💖💖💖💖

  • @pratek
    @pratek 8 місяців тому +10

    Teaching is an art, and you demonstrate it admirably

  • @SamikshaOps
    @SamikshaOps Місяць тому +2

    6:03:34-13july

  • @a092devs
    @a092devs 11 місяців тому +9

    This is by far the best and in depth javascript course on youtube. even better than some paid courses I checked.

  • @husnainahmad3660
    @husnainahmad3660 Рік тому +11

    I have been searching JavaScript tutorial but literally never found tutorial like this on java script. Each and everything is explained in to much depth with ease and hats off to this guy for this great tutorial for us. Love from Pakistan : )

  • @mathhacker2023
    @mathhacker2023 Місяць тому +2

    Thank you so much sir ✨🤩🤩🤩

  • @ankurraj1559
    @ankurraj1559 Місяць тому +1

    4:48:41
    function getRandomColor() {
    const r = Math.floor(Math.random() * 256);
    const g = Math.floor(Math.random() * 256);
    const b = Math.floor(Math.random() * 256);
    return `rgb(${r}, ${g}, ${b})`;
    }
    const bgChange = function(){
    const randomColor = getRandomColor();
    document.querySelector('body').style.backgroundColor = randomColor;
    }
    let setBG;
    document.querySelector('#start').addEventListener('click', function(){
    setBG = setInterval(bgChange,1000);
    });
    document.querySelector('#stop').addEventListener('click', function(){
    clearInterval(setBG);
    setBG = null;
    })
    mine is working fine even after declaring setBg to null after stopping the change of bg color
    PS: i understood the problem with this, in this case if user click start button multiple times, each time there will be new interval set, so color will start changing more faster, and will have issue in stopping it. figured out using help of gpt

  • @pranavjadhav4147
    @pranavjadhav4147 11 місяців тому +6

    Excellent Series with in depth knowledge and practical implementation of concepts 🔥😍🥰

  • @nitinsain7377
    @nitinsain7377 5 місяців тому +1

    Hi.. sir, it's possible . You should make interview question for javascript

  • @sachinsharma-lb8jn
    @sachinsharma-lb8jn Рік тому +39

    almost 20 hours of javascript. thank you sir🤗

  • @nirmalkumar8918
    @nirmalkumar8918 9 місяців тому +1

    Thank you soo much sir for this amazing tutorial , this is the best tutorial of javaScript🙂#chaiaurcode #completeJavaScript

  • @danish-mushtaq
    @danish-mushtaq 6 місяців тому +6

    3 saal sy programming pad raha huu
    Lekin aaj aisa lagrha hai jaisay pehli baar real programming pad raha huu agar aap pehlay milay hotay toa aaj meri job lag chuki hoti

    • @cham24.7
      @cham24.7 5 місяців тому

      Are u sure dude ? Because I want to start?

    • @danish-mushtaq
      @danish-mushtaq 5 місяців тому

      @@cham24.7 100%

    • @serajrabbani9541
      @serajrabbani9541 4 місяці тому +1

      3 saal se tum sirf time pass kert rahe the ......

    • @danish-mushtaq
      @danish-mushtaq 4 місяці тому

      @@serajrabbani9541 acha
      Gyaani baaba aapnay kis pustak mai dekha....

  • @spartanx7931
    @spartanx7931 8 місяців тому +3

    thank you hitesh bhaiya, you are doing so good. The way you teach js in deep is really appriciated.

  • @syedmonuabbas9473
    @syedmonuabbas9473 2 місяці тому +3

    Finally completed, the amount of effort that went into this must have been really next level!
    Thanks for this, will share it to anyone in need!

    • @Toxic_suva
      @Toxic_suva Місяць тому

      Good job bro I am in api part

  • @timepasi
    @timepasi Місяць тому +2

    project 2 started 2:14:10

  • @hirengajjar33
    @hirengajjar33 7 місяців тому +11

    4 saal ki engineering me nahi karatha voh last 6 weeks me kara.. Thank you sir

  • @learningkidda
    @learningkidda Місяць тому +2

    I have completed the js course both parts nice sir Thanks for your lovely courses

  • @sagarverma6399
    @sagarverma6399 8 місяців тому +1

    2:29:29 Task : solution for BMI Calculator
    const message = document.querySelector(".message");
    if (height === " " || height < 0 || isNaN(height)) {
    results.innerHTML = `Please give a valid height ! ${height}`;
    } else if (weight === " " || weight < 0 || isNaN(weight)) {
    results.innerHTML = `Please give a valid weight ! ${weight}`;
    } else {
    const fMBI = (weight / ((height * height) / 10000)).toFixed(2); //will give for two decemal places
    //show the result
    results.append(fMBI);
    if (fMBI < 18.6) {
    message.append(`Underweight: ${fMBI}`);
    } else if (fMBI >= 18.6 && fMBI

  • @ashutosh_tiwari
    @ashutosh_tiwari 11 місяців тому +5

    Completed this series and I can tell from now on I don't have to watch any more videos on pure javascript...this is the end of watching tutorials and beginning of writing more code!! Thanks Hitesh for this amazing and in-depth knowledge✨❤️

    • @learnerSarfaraz
      @learnerSarfaraz 11 місяців тому +1

      sahi bole aap, no need to watch other js series now.

    • @CoderAman003
      @CoderAman003 11 місяців тому +2

      bhai i am also doing it....but ek problem hai confidence nhi aa rha topics pe kya karu uske liye..........

  • @GHUMANTUMANAV
    @GHUMANTUMANAV Місяць тому +1

    av tak to maja aa rha hai 1 hour 27 min tak dekha hai av . you should upload good project on JavaScript

  • @uvkiclasses2539
    @uvkiclasses2539 9 місяців тому +2

    Amazing lecture as always , never compromise with quality of content (thank you so much sir )

  • @rohitbahadur2504
    @rohitbahadur2504 9 місяців тому +1

    9.24.38 fir se dekhna hoga

  • @arupde6320
    @arupde6320 Рік тому +10

    Man You are at GOD level . love the way you improved yourself . if someone sees your earlier videos in English channel they can easily see the improvement of your teaching skill .

  • @agrimgupta0805
    @agrimgupta0805 5 місяців тому +2

    7:38:40 prototype starts from here

  • @shoaib_akhtar_1729
    @shoaib_akhtar_1729 10 місяців тому +12

    1:16:40: childNodes discussion
    1:48:32: DOM Finished, thank you Sir for teaching with this much clarity!❤
    2:14:12: Project-02 (BMI Calculator)
    4:08:44: Blocking v/s Non-blocking Code (depends on the use case)
    4:09:34: JS Runtime Environment
    4:11:08: Yes Sir, we want this kind of series for node js as well
    5:22:55: XHR API Request Assignment
    5:23:35: console log discussion
    5:58:33: promise chaining using then() method
    6:01:20: finally() method use case
    6:03:50: handling promise using, then v/s async-await (async-await starts from here)
    6:17:28: then-ables for handling promise chaining, the real-life use cases are really helpful to understand how things work under the table!🙌
    6:19:00: why fetch execute earlier than any other async codes? (covered in next video on fetch)
    6:37:15: HTTP errors in fetch request (senior developer wali baat, important for interviews)
    7:38:52: Prototype Discussion , after 'new' keyword

  • @virenkhokhar6305
    @virenkhokhar6305 Місяць тому +1

    ..... Kyuki hum bhot hi advance baate karne lag gaye hain 😂😂😂 05:07:40

  • @MukeshSwain-n6q
    @MukeshSwain-n6q Місяць тому +1

    finally i understood fetch() ,,
    thank you bhaiya ji

  • @AftabAliKhanofficialno1
    @AftabAliKhanofficialno1 5 днів тому +1

    9:55:54 complete closure topic wow🎉 nice

  • @farhatshafi5593
    @farhatshafi5593 2 місяці тому +1

    Ab css ka course aana chahiye jisme responsiveness or animation grid or flex box ki mastery karayi jay

  • @AnkitTiwari-o1s
    @AnkitTiwari-o1s Місяць тому +2

    thanks for this series

  • @ShivamRai-y4e
    @ShivamRai-y4e 8 місяців тому +2

    Best Seriess u have thoda ego tho

  • @TurboVista
    @TurboVista Місяць тому +1

    Bhai Address Bata do Personally , Life ki lagi Padi h

  • @mainaksen5064
    @mainaksen5064 3 місяці тому +1

    inner content -all text including that is hidden by css
    /inner text- visible text

  • @mahendraawasthi4928
    @mahendraawasthi4928 8 місяців тому +1

    You must sound little strict as you are a teacher. A fake teacher vibes are coming.

  • @vedantnaikwadi5394
    @vedantnaikwadi5394 11 днів тому +1

    1.5 month lag gaya 2 parts comlpete karne me

  • @nirajkutte3505
    @nirajkutte3505 4 місяці тому +2

    hitesh sir = GOAT 👑

  • @Krishna-su8jm
    @Krishna-su8jm Місяць тому +2

    thanks

  • @PublicAccount-zp3bb
    @PublicAccount-zp3bb 9 місяців тому +1

    hitesh sir make video on GITHUB and GIT please...

  • @rohitgarg3942
    @rohitgarg3942 10 місяців тому +2

    29:54 interesting content

  • @ashwinjoshi883
    @ashwinjoshi883 2 місяці тому +1

    Sir both parts is best, lekin sir promises samjhne me thoda tough laga.

  • @bottelNeck
    @bottelNeck 4 місяці тому +1

    Thank you so much for this masterpiece 🙏

  • @Sushiljaishi
    @Sushiljaishi День тому

    please make one video on the project which are added later in the future, after completing the course. We don't know what to do in those projects. I cannot understand just from the code provided in the solution

  • @shariyarrisve5176
    @shariyarrisve5176 5 днів тому

    I have completed both. If i just say thank you Hitesh bhaia , that wouldn't be fair enough. Even the experience and knowledge that you have share is totally incomparable. Long live Hitesh bhaia and i pray for your happiness. Love from Bangladesh.

  • @electro1146
    @electro1146 8 місяців тому +1

    this is definitely a god tier course and this should not be free lol.

  • @GHUMANTUMANAV
    @GHUMANTUMANAV Місяць тому +1

    bhaiya padate aachha ho . maja to aa rha hai . padke .

  • @mandeep542
    @mandeep542 4 місяці тому +2

    9:26:00 abb yeh hi toh baat hai real knowledge ki , experience ki purana bhi karke batayenge aisa nhi hai ki bhaga de fta fat !! Hatts off sir free toh nhi honi chaiye thi yeh aisi feel aarhi hai

  • @kumararyan5214
    @kumararyan5214 8 місяців тому +1

    sir I have completed both part of Js ,it really worth than most of the paid course

  • @poojalahane2584
    @poojalahane2584 5 місяців тому +1

    THANK YOU SO MUCH RESPECTES SIR YOU ARE THE BEST

  • @subhaanmentor9092
    @subhaanmentor9092 18 днів тому +1

    Lots of love from Mumbai ❤

  • @kapiljoshi1438
    @kapiljoshi1438 Місяць тому +1

    4:35:36 ..., document.querySelector('#start').addEventListener('click',function(){
    const Interval = setInterval(function(){
    console.log("Kapil",Date.now());
    },1000)
    document.querySelector('#stop').addEventListener('click',function(){
    clearInterval(Interval);
    })
    });
    i used nesting of events , if there is another way of doing this then please comment.

    • @kapiljoshi1438
      @kapiljoshi1438 Місяць тому

      4:44:49....., const body = document.getElementsByTagName('body')[0];
      document.querySelector('#start').addEventListener('click', function(){
      const randomColor = setInterval(function(){
      const hex = '0123456789ABCDEF';
      let color = '#';
      for (let i = 0; i < 6; i++) {
      color += hex[Math.floor(Math.random() * 16)];
      }
      body.style.backgroundColor = color;
      }, 2000);
      document.querySelector('#stop').addEventListener('click', function(){
      clearInterval(randomColor);
      body.style.backgroundColor = '';
      });
      });
      for automatically changing color , my version of code

  • @sainirakesh4478
    @sainirakesh4478 21 день тому +1

    sir angular ki series bana do

  • @Nitinhacked
    @Nitinhacked Місяць тому +1

    I've successfully completed both parts, and I must say, it's an absolutely fantastic series! I would like to express my sincere gratitude to Hitesh Sir for his valuable guidance and support throughout.🥰🥰🥰🥰🥰🥰🥰🤩

  • @crazytechytech
    @crazytechytech 5 місяців тому +1

    thank you sir for making js easy for us.

  • @KapilKumar-wn2yv
    @KapilKumar-wn2yv 4 дні тому

    completed the series in one week 😊, Thank You Sir, you made our doubts cleared. Thank You!

  • @AbhishekChoudhary-p1h
    @AbhishekChoudhary-p1h 8 місяців тому +1

    const task1 = todo.querySelector(".DOM");
    task1.remove();

  • @AbdurRazzakJoy
    @AbdurRazzakJoy 13 днів тому

    3:41:44 (False)--Event babling || (True)--Event capturing
    e.stopPropagation

  • @in_ashish
    @in_ashish 12 днів тому

    Personal Timestamp Marks/NOTES
    Day 1: 1:06:54
    Day 2: project (BMI Calc.) : 2:14:09

  • @_saurav_jha
    @_saurav_jha Місяць тому

    # Document Object Model (DOM) Notes 1
    ## Introduction
    - The **Document Object Model (DOM)** is a programming interface for HTML and XML documents.
    - It represents the page so that programs can change the document structure, style, and content.
    - The DOM represents the document as nodes and objects; that way, programming languages can interact with the page.
    ## Basic Concepts
    ### Nodes
    - **Node**: The basic unit of the DOM, representing a single point in the document tree.
    - **Element Node**: Represents an HTML element (e.g., ``).
    - **Text Node**: Contains the text content inside an element.
    - **Attribute Node**: Represents attributes of an HTML element.
    ### The Document Object
    - The `document` object represents the whole HTML document.
    - Methods like `getElementById`, `querySelector`, and `createElement` allow interaction with the DOM.
    ## DOM Tree
    - The document is represented as a tree structure, with the root being the `document` object.
    - **Parent Node**: A node containing other nodes.
    - **Child Node**: A node within another node.
    - **Sibling Nodes**: Nodes that share the same parent.
    ## Accessing Elements
    ### Methods
    - `document.getElementById('id')`: Returns the element with the specified `id`.
    - `document.getElementsByClassName('className')`: Returns a collection ( HTML Collection ) of elements with the specified class name.
    - An HTMLCollection is a collection of HTML elements, similar to a NodeList, but with some key differences. It's an array-like object, meaning it has a length property and allows indexed access, but it's not a true array.
    - We have to convert it to an array to use functions on it.
    - `document.querySelectorAll('selector')`: Returns a NodeList of elements matching the CSS selector.
    - NodeList : A "NodeList" is a collection of nodes, typically returned by methods like 'document.querySelectorAll()' or 'document.getElementsByClassName()'.
    - It represents a list of DOM elements, which can be accessed like an array, although it's not a true array.
    - Although Nodelist is not an array but it can be accessed like an array by using indexing.
    - `document.getElementsByTagName('tagName')`: Returns a collection of elements with the specified tag name.
    - `document.querySelector('selector')`: Returns the first element matching the CSS selector.
    ```javascript
    // Accessing Elements
    const elementId = document.getElementById('myElement');
    const elementsClass = document.getElementsByClassName('myClass');
    const elementsQuery = document.querySelectorAll('.myClass');
    const elementsTag = document.getElementsByTagName('p');
    const elementQuery = document.querySelector('#myElement');
    ```
    ### Modifying Attributes
    - `element.setAttribute('attribute', 'value')`: Sets the value of an attribute.
    - `element.getAttribute('attribute')` : Gets the attribute value.
    - `element.removeAttribute('attribute')`: Removes an attribute.
    ``` javascript
    // Modifying Attributes
    // Example Element
    let title = document.getElementById('title');
    // Setting an Attribute
    title.setAttribute('class', 'highlighted');
    // This sets the 'class' attribute of the 'title' element to 'highlighted'.
    // Getting an Attribute
    let classValue = title.getAttribute('class');
    console.log(classValue);
    // This retrieves the value of the 'class' attribute, which is 'highlighted'.
    // Removing an Attribute
    title.removeAttribute('class');
    // This removes the 'class' attribute from the 'title' element.
    title.style.backgroundColor = '#212121'
    title.style.color = '#fff'
    title.style.padding = '10px'
    title.style.margin = '10px'
    title.style.borderRadius = '10px'
    title.style.width = '100%'
    title.style.height = '100%'
    ```
    ### What is difference between 'textContent', 'innerHTML' and 'innerText'
    - `textContent`: Returns the text content of an elements, including text within script and style elements.
    - `innerText`: Returns the text content of an element, excluding text within script and style elements.
    - `innerHTML`: Returns the HTML content of an element and its descendants.
    ### Example
    ``` javascript
    // Accessing elements in Nodelist
    const headCollection = document.querySelectorAll('h2')
    headCollection[0].style.color = 'orange'
    // Accessing elements in HTML collection
    const listName = document.getElementsByClassName('list-item')
    console.log(listName)
    // converting HTML Collection into an array
    const convertedArray = Array.from(listName)
    console.log(convertedArray)
    convertedArray.forEach( (item) => {
    item.style.color = 'orange'
    })
    ```

  • @_saurav_jha
    @_saurav_jha Місяць тому

    # Document Object Model (DOM) 1
    ## Introduction
    - The **Document Object Model (DOM)** is a programming interface for HTML and XML documents.
    - It represents the page so that programs can change the document structure, style, and content.
    - The DOM represents the document as nodes and objects; that way, programming languages can interact with the page.
    ## Basic Concepts
    ### Nodes
    - **Node**: The basic unit of the DOM, representing a single point in the document tree.
    - **Element Node**: Represents an HTML element (e.g., ``).
    - **Text Node**: Contains the text content inside an element.
    - **Attribute Node**: Represents attributes of an HTML element.
    ### The Document Object
    - The `document` object represents the whole HTML document.
    - Methods like `getElementById`, `querySelector`, and `createElement` allow interaction with the DOM.
    ## DOM Tree
    - The document is represented as a tree structure, with the root being the `document` object.
    - **Parent Node**: A node containing other nodes.
    - **Child Node**: A node within another node.
    - **Sibling Nodes**: Nodes that share the same parent.
    ## Accessing Elements
    ### Methods
    - `document.getElementById('id')`: Returns the element with the specified `id`.
    - `document.getElementsByClassName('className')`: Returns a collection of elements with the specified class name.
    - `document.getElementsByTagName('tagName')`: Returns a collection of elements with the specified tag name.
    - `document.querySelector('selector')`: Returns the first element matching the CSS selector.
    - `document.querySelectorAll('selector')`: Returns a NodeList of elements matching the CSS selector.
    ### Modifying Attributes
    - `element.setAttribute('attribute', 'value')`: Sets the value of an attribute.
    - `element.getAttribute('attribute')` : Gets the attribute value.
    - `element.removeAttribute('attribute')`: Removes an attribute.
    ### Example
    ```javascript
    document.getElementById('myElement');
    title.style.backgroundColor = '#212121'

  • @_saurav_jha
    @_saurav_jha Місяць тому

    # JavaScript DOM Manipulation 3
    ## Code
    ### Creating an element using JS
    ### createElement : `createElement` is a method for creating an element with the specified tagname
    const div = document.createElement('div');
    console.log(div);
    ### Setting properties of the div
    div.className = 'main'; // Sets the class name of the div
    div.id = 2; // Sets the ID of the div
    div.setAttribute('title', 'generated title'); // Sets a title attribute for the div
    ### Styling the div
    div.style.backgroundColor = "green"; // Sets the background color
    div.style.color = "beige"; // Sets the text color
    div.style.padding = '12px'; // Sets the padding
    div.style.borderRadius = '10px'; // Sets the border radius
    div.style.textAlign = "center"; // Sets the text alignment
    ### Adding text to the div
    ### addText: The `addText` variable is used to create and add a text node to an HTML element.
    const addText = document.createTextNode("Chai aur Code"); // Creates a text node
    div.appendChild(addText); // Appends the text node to the div
    ### Appending the div to the body
    ### appendChild: The `appendChild` method is used to add a child node to a specified parent node in the DOM.
    document.body.appendChild(div);

  • @timepasi
    @timepasi Місяць тому +1

    29:48 very intresting concept.

  • @shubhsharma19
    @shubhsharma19 9 місяців тому +2

    6:20:00 What a great explanation for Promises!!! 💜 Sth me async await bhi smj aagye!

  • @ayusharun6924
    @ayusharun6924 7 місяців тому +3

    Now i completed both of the parts,Thank you so much sir.

  • @TechnologyManoj
    @TechnologyManoj Місяць тому +1

    5:02:09 start api video

  • @mathhacker2023
    @mathhacker2023 Місяць тому +1

    7:31:05 😀jis ka matlab 'this'

  • @naumaankhan1607
    @naumaankhan1607 8 місяців тому +1

    sir your biceps is greater than my legs

  • @Njeditz8055
    @Njeditz8055 2 місяці тому

    10:03:06
    Possible hai sir...

    let colors = [
    { name: 'orange', color: 'rgb(255, 165, 0)' },
    { name: 'green', color: 'rgb(0, 128, 0)' },
    { name: 'blue', color: 'rgb(0, 0, 255)' },
    { name: 'yellow', color: 'rgb(255, 255, 0)' },
    { name: 'pink', color: 'rgb(255, 192, 203)' },
    { name: 'indigo', color: 'rgb(75, 0, 130)' },
    { name: 'orange-red', color: 'rgb(255, 69, 0)' },
    { name: 'purple', color: 'rgb(128, 0, 128)' },
    { name: 'cyan', color: 'rgb(0, 255, 255)' },
    { name: 'hot pink', color: 'rgb(255, 105, 180)' }
    ];
    for (let i = 0; i < colors.length; i++) {
    let btn = document.createElement('button');
    btn.innerHTML = colors[i].name;
    btn.className = 'p-2 m-2 bg-gray-700 text-cyan-300 rounded-2xl';
    document.body.append(btn);
    btn.addEventListener('click', () => {
    document.body.style.backgroundColor = colors[i].color;
    });
    }

  • @AtharvaKanse-qc4xm
    @AtharvaKanse-qc4xm Місяць тому +1

    Kudos to you Hitesh Sir for creating a practical & concept oriented tutorial! Just loved it!❤

  • @ShivamRai-y4e
    @ShivamRai-y4e 8 місяців тому +1

    BEST COURSEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

  • @akroyalmaker
    @akroyalmaker 2 місяці тому +1

    Like for a jsTea 😁😁

  • @bairwa_rajkumar
    @bairwa_rajkumar 9 місяців тому +1

    Is this complete or more videos coming

  • @HabibullahAfzali
    @HabibullahAfzali 9 місяців тому +1

    Markdown hindi edition please!!!

  • @akroyalmaker
    @akroyalmaker 2 місяці тому +1

    1:48:40 Dom finished

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

    this is solution with switch case
    const buttons = document.querySelectorAll(".item");
    const body = document.querySelector("body");
    buttons.forEach((button) => {
    button.addEventListener("click", (e) => {
    switch (e.target.id) {
    case "orange":
    return (body.style.backgroundColor = e.target.id);
    break;
    case "yellow":
    return (body.style.backgroundColor = e.target.id);
    break;
    case "green":
    return (body.style.backgroundColor = e.target.id);
    break;
    case "blue":
    return (body.style.backgroundColor = e.target.id);
    break;
    default:
    return (body.style.backgroundColor = "black");
    break;
    }
    });
    });
    this is solution with switch case

  • @rickstha2827
    @rickstha2827 6 місяців тому +1

    just completed this series now i am learning react

  • @utkarshakya
    @utkarshakya 13 днів тому

    I have finished DOM, From Tomorrow I'll Start Projects. ❤ Thanks Sir.

  • @alconime
    @alconime 4 місяці тому

    Start Date - 15 May (Afternoon)
    End Date - 17 May (Afternoon)
    One of the best series I have to say.
    Summary of last video -> When you will be working on a project, you will get stuck on many things and then you say, I didn't learn this thing, but no worries there, just go to MDN docs, chat GPT, stack overflow etc and try to solve it. And doing this will help you to learn many more new things.

  • @agrimgupta0805
    @agrimgupta0805 6 місяців тому +1

    5:02:00 main topic starts from here