React js developer interview coding Round |

Sdílet
Vložit
  • čas přidán 10. 09. 2024
  • ❤️credit : ‎@procodrr
    coding Round react js developer,
    html css interview questions,
    Java developer interview,
    javascript interview questions,
    react js developer interview questions,
    fresher interview,
    fresher javascript interview,
    fresher React js developer,
    front end developer interview questions,
    #frontenddeveloper #backend #code #coding #html #css3 #javascript #java
    #fresherinterview #development #mncinterview #coding #reactjs
    #fullstack

Komentáře • 74

  • @sadiqaminzai1793
    @sadiqaminzai1793 Před měsícem +7

    During the interview, the explanation provided by the interviewer could have been clearer. In the first console line, '5' + 3 results in '53' because the + operator performs string concatenation. In the second console line, '5' - 3 results in 2 because JavaScript is a loosely typed language, where the string '5' is implicitly converted to a number, allowing the - operator to perform an arithmetic subtraction.

  • @sudershansingh9490
    @sudershansingh9490 Před 4 měsíci +30

    When i was a fresher these questions felt challenging
    now they look so silly :D

  • @sarimiqbal
    @sarimiqbal Před 20 dny +3

    But the question is, how did she get selected? If there were a boy in her place, I don't think he would be treated the same

  • @gowthamip6688
    @gowthamip6688 Před 3 měsíci +6

    +"12" instead of this we can write "12"-0 It also convert this value as a number

  • @badalhalder-mx5nv
    @badalhalder-mx5nv Před 4 měsíci +6

    const names = ['Badal', 'Dipa', 'Farju', 'Anik', 'Sourof'];
    const heading = document.getElementById('hello');
    let currentIndex = 0;
    const changeHeading = () => {
    // Change the heading's textContent to the current name in the array
    heading.textContent = names[currentIndex];
    // Increment the index for the next click, and loop back to the beginning if necessary
    currentIndex = (currentIndex + 1) % names.length;
    }
    heading.addEventListener('click', changeHeading);

  • @vaibhavmatere18
    @vaibhavmatere18 Před dnem

    I like how patiently he answered everything
    Kudos

  • @shorts6699
    @shorts6699 Před 4 měsíci +10

    one day you ll show ur talent to everyone, just take it as this is also one of the practice.....good luck ma

  • @RiteshKumar-hs3it
    @RiteshKumar-hs3it Před 3 měsíci +3

    Sir can you explain why you mentioned Selected? bcoz i dont think she will be selected if its an actual interview

  • @sumanths5640
    @sumanths5640 Před 4 měsíci +6

    HEllo word
    const arr = ["susman", "schahs", "dcnh","chuyd"];
    let i = 0;
    function hello(arr){
    if(i > arr.length-1){
    i = 0;
    hello(arr)
    }else{
    document.getElementById("header").innerHTML = (arr[i]);
    i++
    }
    }

  • @manurockstar7553
    @manurockstar7553 Před 4 měsíci +48

    interview ❌ class ✅

  • @alphabetdot6613
    @alphabetdot6613 Před 4 měsíci +4

    0:27 53 and 2 i am saying this without running the code, i guess beginners should read Head First JS book it's really good book for basics

  • @sky9k-unlimited
    @sky9k-unlimited Před 7 dny

    Interview tha ya coaching session? upar se selected bhi.. 😂

  • @yagyeshdubey4261
    @yagyeshdubey4261 Před dnem +1

    Agar interviewer has jaye interview me to smjh jao ho gya kaam tamaam interview ka 😂

  • @The_Honeyman
    @The_Honeyman Před 4 měsíci +4

    javascript. js (file)
    const arr=["ABC", "Joy", "Raju"];
    let count=0;//count clicks
    document. getElementById("hello"). addeventListener("click", function () {
    if(count

    • @SiddhantGelye
      @SiddhantGelye Před 4 měsíci +2

      const arr = ["test1", "test2", "test3", "test4"];
      let count = 0;
      const hello = document.querySelector("#hello");
      hello.addEventListener("click", () => {
      console.log("clicked");
      if (count > 3) {
      count = 0;
      }
      hello.textContent = arr[count];
      count++;
      });

    • @fitnessforlifetamil3936
      @fitnessforlifetamil3936 Před 27 dny

      Instead of keeping the if condition you can directly use count = count%arr.length it will help to iterate over the array again and again

  • @SiddhantGelye
    @SiddhantGelye Před 4 měsíci +15

    const arr = ["test1", "test2", "test3", "test4"];
    let count = 0;
    const hello = document.querySelector("#hello");
    hello.addEventListener("click", () => {
    console.log("clicked");
    if (count > 3) {
    count = 0;
    }
    hello.textContent = arr[count];
    count++;
    });

    • @tabishakhtar9803
      @tabishakhtar9803 Před 4 měsíci +3

      Instead of hardcoding the array length like if(count > 3), you can use if(count > arr.length - 1), by that way even if you add more names to the array, your code wont fail. Just a small improvement, apart from that your code works.

    • @watchnow4211
      @watchnow4211 Před 4 měsíci

      ​@@tabishakhtar9803❤

    • @Zach-yr1uh
      @Zach-yr1uh Před 4 měsíci +1

      const arr = ["Name1", "Name2", "Name3", "Name4"];
      let i = 0;
      const title = document.getElementById("title");
      title.addEventListener('click', ()=>{
      if(i < arr.length){
      title.textContent = arr[i];
      i++;
      }else{
      i = 0;
      title.textContent = "Hello World";
      }
      });

  • @rjocampo921
    @rjocampo921 Před 4 měsíci

    if one is string then one is number.. in order for your to have numerical value.. you must put Number("5") + 3 UNLESS just a simple string

  • @WebBlows
    @WebBlows Před 3 měsíci +1

    05:17
    He said, it will convert either into number or into string, Which is totally worng, Interviewer either should say, check and reserch why and how its hapeening, he should not fire in the air.

  • @alphabetdot6613
    @alphabetdot6613 Před 4 měsíci

    4:12 1st one true bcz it's equal to, and 2nd one is false bcz it's strict equal to, to get true in === two value has to be same type and same value while for == if two value has different type then it's try to convert into same type

  • @prashanthk2339
    @prashanthk2339 Před 2 měsíci +2

    i can literally answer all the question but i am still jobless i dont know what to do

    • @vinayaknaik9884
      @vinayaknaik9884 Před 2 měsíci

      Better to create advanced react or angular projects and attractive portfolio

  • @theeewebdev
    @theeewebdev Před 5 dny

    At finally how to get print the array names in loop

  • @indrasishbanerjee3602
    @indrasishbanerjee3602 Před 11 dny

    Const array = [“a”,”b”,”c”,”d”]
    Const h1 = document.get elementbyid(“h1”)
    Var index = 0
    function changename(){
    Index= index === array.length -1 ? 0 : index+1
    h1.textcontent = array[index]
    }
    h1.addeventlistener(“click”, changename)
    I wonder how those are get placed think this channel is just an institute

  • @jacksoyer556
    @jacksoyer556 Před měsícem +1

    God this interview was unbearable, how am i unemployed and she got a job
    import React, {useState} from 'react'
    const ChangeName = () => {
    const [Name, setName] = useState("Dude");
    const [Counter, setCounter] = useState(0);
    const NameArr = ["Amar", "Akbar", "Anthony"]
    const count = 2;
    const HandleName = () =>{
    if(Counter

    • @rickythecreator4777
      @rickythecreator4777 Před 16 dny

      Why did you use this much of code. We can complete it by 2 lines. LoL 😂😂😂😂

  • @rajeshkrchaudhary3245
    @rajeshkrchaudhary3245 Před 4 měsíci +3

    console.log(11)
    Why first is true and second is false because true is equal to 1

  • @abhisekhbarman1431
    @abhisekhbarman1431 Před 4 měsíci +10

    Isko select kia tho main to selected hu bhai .
    Bakar ka main pressure la raha tha 🤣

  • @mohankkkrishna8036
    @mohankkkrishna8036 Před 4 měsíci +4

    I am good in front end how will I got interviews

    • @mncinterview5446
      @mncinterview5446  Před 4 měsíci

      fill google form link another video description here and try to mock interview

  • @alphabetdot6613
    @alphabetdot6613 Před 4 měsíci +3

    Help full Video for preperations

  • @pajjurinikitha7827
    @pajjurinikitha7827 Před 3 měsíci +1

    This all were mock interviews not is just for practise not an real

  • @abhinavsharma2630
    @abhinavsharma2630 Před 3 měsíci +3

    How she is selected. She doesn't know coercion

  • @williamt4271
    @williamt4271 Před 4 měsíci +6

    She will be a good developer soon.

  • @KevinBaliev
    @KevinBaliev Před 4 měsíci +1

    i wish interview questions to be same in my country xD

  • @keanallen
    @keanallen Před 4 měsíci

    const arr = ["A","B","C","D"]
    const target = document.getElementById("hello")
    target.onclick = function(){
    let findIndex = arr.indexOf(this.innerHTML)
    let nextIndex = findIndex
    if(findIndex < 0 || findIndex >= arr.length-1){
    nextIndex = 0
    }else{
    nextIndex++
    }
    target.innerText = arr[nextIndex]
    }

  • @icetmzz9074
    @icetmzz9074 Před 4 měsíci

    where do you get selected with this level of knowledge ?

  • @icetmzz9074
    @icetmzz9074 Před 4 měsíci +1

    sorry but sister dont even know how to declare variable what does it means to be selected ?

  • @Pawan_beniwal9694
    @Pawan_beniwal9694 Před 4 měsíci +1

    That is a video only created for like an interview that's it

  • @soumenkamila5266
    @soumenkamila5266 Před 3 měsíci +1

    Needs to practice more. Best of luck

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

    these are basic question these type question they are asking me as in not even as fresher round

  • @ashishtiwari3162
    @ashishtiwari3162 Před 4 měsíci +1

    bhai ye itna easy interview kon leta hai 😂😂 Mere se kitna tough questions pucha tha 🤐🤐

  • @bazylcossac_5793
    @bazylcossac_5793 Před 28 dny +1

    what the fuck is happening here

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

    Now Again
    14:00
    NaN === NaN gives false : His reasoning because it can come from any string.
    okay boss
    lets try with same string then, its should give you true then eright?
    let str='Hello'
    console.log(+str == +str ) // always false
    console.log(+str === +str ) // always false
    IDK know the actual reason, but commenting to know the exact reson and asking these type of interviewers not ask these type of questions or atleast give proper reasoning, or ask candidate to research about it.

  • @chessop3366
    @chessop3366 Před 2 měsíci

    This class going on

  • @AtharAli-ty1ej
    @AtharAli-ty1ej Před 4 měsíci

    Plz dear sir provided interview in hindi

  • @SahibzadaHumza
    @SahibzadaHumza Před 4 měsíci +1

    Flutter interview?

  • @onlymovie-8269
    @onlymovie-8269 Před měsícem

    Anyone who support me to give react js developer job

  • @ankitnishad1229
    @ankitnishad1229 Před 4 měsíci

    itna hallu question me selection

  • @kasivishva3183
    @kasivishva3183 Před 27 dny

    If this was an interview.I will clear,Easily

  • @user-pq9ry1ge7g
    @user-pq9ry1ge7g Před měsícem

    const arr = ["Hi", "raju"]
    let index = 0
    document.getElementById("helloid").addEventListener("click", function(){
    const studentsName = document.getElementById("helloid")
    studentsName.textContent = arr[index]
    index++;
    if(index >= arr.length){
    index = 0;
    }
    })