14:29 why do we even need .slice(0, totalCards)? we are anyway going to get the same output without it right? like what are we trying to slice out here? am I missing something?
same type of question i also got in an interview , but the req. is little bit different we user start the game then we have to show all the image or number after 2 second we have to close and the game timer start const [showNumberFirstTime, setShowNumberFirstTime] = useState(true); useEffect(() => { initializeGame(); setTimeout(() => { setShowNumberFirstTime(false); setDisabled(false); }, 2000); }, [gridSize]); {isFlipped(id) ? number : showNumberFirstTime ? number : "?"}
sir i really love your videos and trying hard for job but i am facing so many problems and as i belongs lower middle class its liitle bit hard for purchase your course so if u don't mine then please sir provide me alternate solution
@@RoadsideCoder ap Code Review round k hwaly s bhi video bnaen.. 1 to coding round hogya na.. Code review wly interview wla kea scene? Doosra current market trend ( with the boom of ai), hmain or kea skills seekhny chyain. Just React kaafi ni ha... Is p detailed research... Web3, three JS, etc, solidity.... 1 exact video bna dain na agr.. Jesy k React seekhty hain to use hoti ha bht, is k ilawakea cheez seekahin..
14:29 why do we even need .slice(0, totalCards)? we are anyway going to get the same output without it right? like what are we trying to slice out here? am I missing something?
as always great content ❤❤
same type of question i also got in an interview , but the req. is little bit different we user start the game then we have to show all the image or number after 2 second we have to close and the game timer start
const [showNumberFirstTime, setShowNumberFirstTime] = useState(true);
useEffect(() => {
initializeGame();
setTimeout(() => {
setShowNumberFirstTime(false);
setDisabled(false);
}, 2000);
}, [gridSize]);
{isFlipped(id) ? number : showNumberFirstTime ? number : "?"}
Hello bhai, at @14:17 was the slicing part even necessary? also the same with Math floor you have used in pairCount variable?
ok, never mind, Math.floor is required
Excellent Sir.. You are simply Superv .. Thanks 💗💗💓💓
Appreciate it!
➡ My Interview Prep Course (Coupon Code "MEMORY" for 60% Discount) -
roadsidecoder.com/course-details
If once I buy this course then I will always have access to all the contents or will I lose access after some time?
@@surajmishra8696 u will have access
i made this when i was in my 1st semester. just with the help js
thats great, do share the link here if u still have it
hey I watched your video regarding game over part I think one complete move means 2 flipped, then we have to increment by 1
please pick questions from greatfrontend react coding questions 🙏🙏
thankyou so much sir❤❤
sir i really love your videos and trying hard for job but i am facing so many problems and as i belongs lower middle class its liitle bit hard for purchase your course so if u don't mine then please sir provide me alternate solution
What is that extension that you used to console.log
console ninja
@@RoadsideCoder it is not working for me
Please do video on single spa micro front end professional manner
sure, will do
what if we give odd number grid size?
it will create even pairs
that's why this is used const pairCount = Math.floor(totalCards / 2);
❤
Lgta ha bhai n pee rkhi ha😅
bhai padh lo thoda, ye comment krke job nhi lagegi
@@RoadsideCoder i was just kidding. Apki saari videos dekhta hu❤️
@@RoadsideCoder ap Code Review round k hwaly s bhi video bnaen.. 1 to coding round hogya na.. Code review wly interview wla kea scene?
Doosra current market trend ( with the boom of ai), hmain or kea skills seekhny chyain. Just React kaafi ni ha... Is p detailed research... Web3, three JS, etc, solidity.... 1 exact video bna dain na agr.. Jesy k React seekhty hain to use hoti ha bht, is k ilawakea cheez seekahin..
Apna business ha bhai. 😂✅
Q job k peechy pry ho😅
Your explanation is good but you directly jump to the solution without explaining the thought process. It seems like you have just memorized the code.
I have discussed the thought process, any specific part ur talkin about?
Teach in professional manner don't teach like run and catch the train, otherwise you will miss the train
bro, u can also reduce video speed from bottom right
Problem ye hai ye pen tab use nhi kerte hai ache se depth me koi nhi samghat hai
Bro you have knowledge but you don't teaching method