2.5 Years Experienced Best JavaScript Interview
HTML-код
- Опубликовано: 18 апр 2024
- The Complete JavaScript Course: • The Complete JavaScrip...
Complete Frontend Course: • Web Development Course...
The Complete React Course: • The Complete React Cou...
The Complete CSS Course: • Getting Started with C...
Redux Full Course in Hindi: • Redux Fundamentals in ...
Avinash LinkedIn: / avinash0705
Social Media
🌐 Telegram: t.me/procodrr
🌐 Linkedin: / anuragsinghbam
🌐 Instagram: / procodrr
🌐 Twitter: / anuragsinghbam
🌐 Portfolio: anuragsinghbam.com/
#react #procodrr #webdevelopment #mockinterviews #frontendinterview #javascriptinterview
I have never seen a better JavaScript interview than that.
defer attribute : downloads the script file asynchronous but will run it after all our dom html and css are loaded.
async attribute : is also downloaded asynchronous but will immediately run after it is downloaded, even though our html css file are not loaded , which can cause errors!!
So, many developers or most of the time we use defer attribute like inside head tag❤
Sir, I have filled the for, it’s been months but still i haven’t gotten the mail for an interview
Couldn't be more better. I have learned a lot from this interview. Please upload more interviews like this in future!
literraly brother you just nailed it. I could not think even how to do it. btw your googling skill is also good as you can understand it by seeing the examples I can not do it.
This was the best interview i have ever seen , sir please do this kind interviews .Like if ur taking interview for fresher u can also add some extra questions like this it will be helpful for us.
always learn something new - yes we can use await outside async function defining by type='module' in a script file
Must watch interview.. we are expecting these kind of interviews
Sir we need more such types of videos, this video is goldmine for many of us.
thnakyou very very much :)
Finally, got something different! Just finding this information - Thanks for this informative content. Learnt something new !! ❤
This was the most interesting interview on your channel, sir.
Thank you for these amazing videos... I have tried both output based question of promise and the machine coding circles problem and I got it and solved somewhat in easy way before watching the solution. It feels good😊... I'm a fresher preparing for frontend interview.
May be idk how I'll perform in pressure.
Everything is perfect. But only one suggestion, before start interview pls remove cursor of your PC from the candidate. because sometimes it's really annoying.
Its fabulous never seen such interview. 🎉
Good Candidate, interactive + pushing him self towards solving problems taking baby steps to reach closer to expected output which is good.
I heared the question, I was going in shocked but bro you nailed it... And I have learn something it is valuable video....
great video this video make me confident that i know answer to some questions it was a great way to learn and brush up my skills
Need more questions and answers on js and react.js, with real-time coding questions as in interview, great video! 👍anurag🙏
I first time introduced like replaceable and non-replaceable inline element...thanks a lot and I think you are a genius person..I am from bangladesh
Machine code was a good question. I tried it and it was easy for me. Great confidence boost.! For an engineer, math should be easy
Randomly found and love this kind of videos 💥🔥 OP
I found only two interviews interesting.......one is ankit Tripathi one......and now another this one
ruclips.net/video/MPY-SU1VzRI/видео.html
You will like this one as well.
@@procodrr I saw this but screen was smaller so not able to got much
can you please share that ankit tripathi interview video link
If we return setTimeout(.... , 10k) inside of that async func.
Won't it will be in pending state for 10 second?
one of the top notch problem and bro nailed it.
one of the best interview i have ever seen, Very helpful
This guy is pro
Now i know so much❤
it was an super excellent interview, I coded at the same time as you. it is a pleasure to learn and remember knowledge this way!😊
Thanx for the nice mind broggling questions. It took me 2 to 3 h to code the machine coding question. But I am very happy that I have coded it successfully without any help.😊
I have solved similar question in leetcode regarding 2d matrix
32:42
const btn=document.querySelector("button");
let getdata=()=>{
return new Promise((res,rej)=>{
btn.addEventListener("click",()=>{
res("button is clicked");
})
})
}
btn.addEventListener("click",()=>{getdata().then((res)=>{
console.log(res);
})})
//Is it correct
29:40 , another way to resolve promise only when the button is clicked..
let res1;
const pr=new Promise((res,rej)=>{
res1=res;
})
document.querySelector('button').addEventListener('click',(e)=>{
res1('resolved successfully');
console.log(pr);
})
What is happening inside the promised call back function How the res1=res working ?
@@Tech-NOOB
let res1; //res1 = undefined
res1 = res = undefined = truthy value
Hence the promise is resolved.
Mere khayal se res1 = res means the parameter which is res i.e resolve in full form is having an undefined value from the let variable res1. Eve though res1 is undefined but it still exists hence resolve from the call back function (res,rej) becomes true and hence the event listener will successfully resolve the promise since the promise is resolved via res1 = undefined = res (i.e resolve).
He should have given res1 = 1 or any value instead because assigning any variable value is undefined is a bad practice.
I hope you find this answer helpful, if I'm making a mistake then anyone can ask me and let me know.
Very helpful 👌
Great great initiative bhaiya
sir please make a video of understanding the dom in-depth as he used those e.clientx something like that , and also debugging video , its my kind request
watch chai aur code backend series . and this video was amazing , I really liked it
This is awesome bro ❤
Sir this is what i was looking for. Ese hi laya kro videos
Thanks, lekin sabhi log aise nahi hote hain.
@@procodrr mera b le lo sir ek interview 😉🥰
Great interview 😍. Hello Anurag sir, why google form is not accepting anymore responses?
i want to have an interview with you.
Why some of interviewers doesnt ask interview like this, but they ask what you do in your previous work? Any thoughts?
Is this correct solution for promise in react ?
JS:
const pendingPromise = (param) => {
return new Promise((res) => {
if (param) {
res("Button clicked , Promise resolved");
}
});
};
const resolveOnclick = () => {
pendingPromise(true)?.then((res) => {
console.log(pendingPromise(true), res);
});
};
JSX :
Resolve Promise
sir aap plz package mention kijiye ki isko kitna milega interview ke baad plz
Instead of taking it as hypotenuse, you have to find shortest distance to between circles, compare it with the sum of both circles radii, if shortest distance is less than equal to sum of radii its intersecting, else not
And how will you find the shortest distance?
@@procodrr const distance = Math.sqrt(deltaX*deltaX + deltaY*deltaY)
where deltaX and deltaY are mode of substraction of x,y co-oridnates. Also hypo is made of this formula.
Interviewer himself doesn't know how to deliver a smooth conversation
True
Contestant is more confident than him @@syedsikandar6832
SIR I SUBMITTED THE GOOGLE FORM FOR HTML SIR NOW WHAT IA CAN DO PLEASE TELL ME
SR MOCK INTERVIEW KAY FORMS KYON BND HAIN
Outstanding 😍
sir why can't we fill the form now
Great interview
For what package this interview?
One of the best teachers on RUclips❤❤❤
Bhiya freshers se puch sakte h kya is level ka?
Sir how can i apply if i want to be on this interview series??
Please let me know i really want to test my knowledge
Sir why can't we are able to fill form.please respond
Interesting and best
Dear sir , how can I attend your Sunday QnA . ❤😊
Sir aap so ke uth ke interview lete ho kya
What is the verdict of the interview?
Sir kya English me interview Dena mandatory hai. Because I can explain better in Hindi.
i am not able to submit the form for interview 😢😢
Make on laravel?
Here it is the simpler React version: Enjoy 😀
import React, { useState } from 'react';
const CircleIntersecting = () => {
const [circles, setCircles] = useState([]);
const handleScreenClick = (event) => {
const x = event.clientX;
const y = event.clientY;
const radius = Math.floor(Math.random() * (200 - 50)) + 50;
if (circles.length === 2) {
setCircles([]);
return;
}
const newCircle = { x, y, radius };
setCircles([...circles, newCircle]);
if (circles.length === 1) {
const firstCircle = circles[0];
const dist = Math.hypot(firstCircle.x - x, firstCircle.y - y);
if (dist < firstCircle.radius + radius) {
if (dist + radius
Sir I also Want to give interview For front-end how am i able to do
Good to see Ankush Bahuguna getting into tech.
Kindly give me an opportunity to sit for an interview. Pls take mine for Reactjs. I had filled the form but none cameback.
Sir muje etna English nahi aata hai kya mein hindi mein kar skta interview please help and reply this problem
I am also starting Frontend Interview Preparation, with an amazing group where we discuss important questions in Zoom meetings regularly. if anyone who is really seriously wants to join let me know.(MERN with JavaScript)
Professionals web hosting par one video
38:15 Sir I have successfully created a promise with pending state without using promise keyword
Code -->
async function createPromise() {
return "promise is resolved";
}
console.log(createPromise().then((data) => console.log("data",data)));
How works :-
Async function always return a promise either we will return something or not and if we console the function then the return value be a promise with fulfilled state and we know that we can call then() method to a promise either it is fulfilled or not and here the concept come that every then() method return a promise with pending state. So that way I have successfully solved the question.
Yes, that is 100% correct. That promise will be pending for a moment and it will resolve immediately. So yes it is technically correct but we can't control that promise's state.
Thanks for providing this solution.
@@procodrr yes sir
can anyone mention the youtube channels that he mentioned?
i know akshay saini and kevin powell. What was the third one?
At what time it was mentioned?
Please provide LinkedIn profile of the person who is Interviewed
1:23:10 😂
Audio quality is not so good. Kindly improve the quality of audio so audience can stay till end of the video.
Plz chk
whats the sallary
google form is not working
23:54 : const button = document.getElementById('myButton');
button.addEventListener('click', () => {
const myPromise = new Promise((resolve, reject) => {
setTimeout(() => {
resolve('Promise resolved successfully!');
}, 1000);
});
myPromise.then((result) => {
console.log(result);
}).catch((error) => {
console.error('Promise rejected:', error);
});
});
With the help of your video and your RUclips channel, I cracked the interview.
Congratulations Anand 🎉
I'm glad I was able to help you clear your interview. Keep learning and growing 😊
Sir node js or express js pe playlist ❤
wow very nice
sir mere ko bhi interview ka mauka de do fresher hu baki jagah toh fresher ke liye 5 saal ka experience chahiye
very nice
17:45 javascript
i need english tutorial in english can you please send
i cant understand how things are going in module scope at 1:01:47 ,,,also cant find in ur videos
ruclips.net/video/58_rdS5EVxU/видео.htmlsi=9q6kHppHsBRubJp0
Watch this video on ES6 modules
nice
Selected in what ?
Ooo 👍
Bhai Aawaz ka Kuchh karo yaar
55:04
i am from Pakistan can i get interview.
2.5 expi javascript developer don't know how to resolve a function when a button is clicked?
To answer your question, I knew that.
For clarification I am still learning and sometimes I do mess up while answering to someone, but that's the process I think.
And BTW "to resolve a promise*"
Cheers!
This happens to everyone. This is called a silly mistake. Don't focus on syntactical mistakes, focus on the thought process and problem-solving.
bhaiya u r great.
Impressive interview . I loved too much and learned a lot@@me_Avinash_kr
❤❤❤
this is really a hard interview to me
How to connect with Avinash? (the interviewee)
I have added his LinkedIn profile link in the description. You can connect from there.
Thanks 😊@@procodrr
Can you tell us how much package he can expect. With this knowledge and experience....... Reply ❤
15 LPA to 20 LPA
@@procodrr Thank you so much for your kind reply, please keep it up the great interview content.♥️ Love from pune
The interviewer is more nervous than the interviewee. 😁
Itna khatarnak interviewee hoga to interviewer ka nervous hona obvious hai 😀
Please tell me bhai saheb what is hero section
Banner section, the section just after header
This can be no way a 2.5 years experience interview 😳
Means it is good or bad, why? I'd like to know. Please
It can be as I have also 2.7 years of experience and I was able to give almost most of the answers for the questions he asked.
@@IshanRohatgiyt how do you learnt web dev ????? And what was your college ?????
@@shubhamjha2036 I studied ECE from tier 3 college when I was in third year I wanted to implement something which I learn so out of curiosity I started learning web development using youtube I started with code with harry, and did one course on web design on coursera based on that and Programming which I studied for placement I cracked multiple jobs in MNCs and started my journey as developer since then I am continuously working and learning from resources available on internet.
sir pahli baar kush ho gye interview leke
Sahi baat hai, itna khush to pahli baar hi hua hoon 😀😀
Sir aapko website bnvani h ? Me free of cost bna dunga abhi mujhe kuch projects ki jrurt h mere portfolio k liye
mera banagoge website
Mere liye bhi bana do. Website nahi banwana hai, application banwana hai
Brother i need a webiste i m from pakistan can you do it for me as a gift🥰
Pakistan ko gift Dena band kr Diya hum logo ne..😂😂
Don't take serious.. it's jokes apart
@@codetech1.080 😅😅
Nice interview but itna time nhi h 😂
ary kuch samjh ma hi nahi a rah hindi ma bol bhai
Man I am a loser 😭😭I can even answer basic HTML and css interview questions 😓😓
Practice practice practice
You can or you cannot???
Also it seems you are bad with basic English as well😂
@@ScavengerYT9😆
@@yashmali1192😝