Easy to understand and follow even for beginner. Thanks.
@lincholechisa61542 ай бұрын
really excellent project for beginner like me. Thank u bro!
@theabundantartist27042 ай бұрын
What an amazing explanation sir! Waiting for more videos on full stack dev projects. Thank you :)
@GreatStackDev2 ай бұрын
Thank you so much.
@AnnabelleSwan9 ай бұрын
Thank you so much! You are so great at explanation!!! Thanks a lot !
@durgeshsingh63808 ай бұрын
Excellent 👍
@pankajbeniwal988 Жыл бұрын
For opening development server in browser, you can also just press 'o' and it will open in browser
@GreatStackDev Жыл бұрын
I will try this shortcut, thanks for comment.
@User-lm4qq5 ай бұрын
You can use the result ternary operator only one time. Instead of returning empty div while result is true ,you can return the score and reset button
@adityayadav-bh6wm3 ай бұрын
useRef(0) while initialisation of Option(s) at 30:45
@wordsfromheaven2 ай бұрын
It didn't work o
@szymonfelski7759 ай бұрын
Great tutorial, thanks!
@muhammadusama7284 Жыл бұрын
completed .waiting for next video of react JS
@GreatStackDev Жыл бұрын
Great! Please check this React Project playlist: kzbin.info/aero/PLjwm_8O3suyMMs7kfDD-p-yIhlmEgJkDj
@yt_paperHANk2 ай бұрын
finally, this is what I'm looking for, to cure my laziness
@lucianodeniro64757 ай бұрын
thanks a lot bro, greetings from Argentina
@TrimPUBG Жыл бұрын
Am the first to like on this helpful video. Please give me likes. ❤❤❤
@narendrakumar709 Жыл бұрын
Excellent tutorial. but one good practice but not that much important , we can add setLock(true) after lock===false line, no need to repeat it.
@oqant0424Ай бұрын
Thank a ton:)
@hamzazennou31789 ай бұрын
Perfect
@biologyfacts27605 ай бұрын
very easy to understand thank u so much
@er.soumyavlogs Жыл бұрын
Luv u brother❤
@GreatStackDev Жыл бұрын
Thanks bro, Glad you liked this react project
@abdullah-khan10 Жыл бұрын
Your tutorial are very helpful❤🇵🇰. Also make more content on react and next js
@rohinipatil85095 ай бұрын
Thank you so much sir
@peterkyle016 ай бұрын
Awesome tutorial.
@divyasingh6981 Жыл бұрын
Thanks ❤️
@rublyn111 Жыл бұрын
Happy I saw this early. Thanks man
@GreatStackDev Жыл бұрын
Glad you liked this React Quiz app tutorial
@prateeksharma37757 ай бұрын
good vedio but inorder to change state in question we have to use useeffect
@deshanbandara49859 ай бұрын
Thank you brother ♥
@tech-xTinkerer6 ай бұрын
Nice video
@GreatStackDev6 ай бұрын
Glad you liked it. 😊
@mohamedabdi320069 ай бұрын
Salam bro you're the best thanks for your help. Please can you make us one video About Contact js and search js for our website...
@shreyarani2132 ай бұрын
The code is not working for correct answer color and wrong answer color
@wordsfromheaven2 ай бұрын
Import UseRef and UseState
@KillingsworthHaley6 ай бұрын
Why do you need two separate ternary operators that only have one half filled in? Why does it not work if you combine the two separate ternary operators into a single one?
@helloworld20546 ай бұрын
You don't need 2 ternary operators, it works completely fine with one ternary operator.
@Code_Verse016 ай бұрын
33:03
@MinhazFardin Жыл бұрын
which theme are you using in vs code
@vinuchakravarthineelakanda7904 ай бұрын
why you use js instead of js + swc? can you explain this
@ssikarim7 ай бұрын
Thanks
@bbieye Жыл бұрын
Awesome App! Do you share app code ? I looked google drive. I can see only questions.
@volkan9799 Жыл бұрын
there is my code bro: import { useState } from "react"; import "./Quiz.css"; import { data } from "../../assets/data"; const Quiz = () => { let [index, setIndex] = useState(0); let [questions, setQuestions] = useState(data[index]); let [lock, setLock] = useState(false); let [score, setScore] = useState(0); let [result, setResult] = useState(false); const openCorrect = (index) => { document.querySelectorAll("li")[index - 1].classList.add("correct"); }; const checkAns = (e, ans) => { if (lock === false) { if (questions.ans === ans) { e.target.classList.add("correct"); setScore((prev) => prev + 1); } else { e.target.classList.add("wrong"); openCorrect(questions.ans); } setLock(true); } }; const clearAns = () => { document.querySelectorAll("li").forEach((li) => { li.classList = ""; }); }; const next = () => { if (index === data.length - 1) { setResult(true); return; } if (lock === true) { clearAns(); setIndex(++index); setQuestions(data[index]); setLock(false); } }; const reset = () => { setIndex(0); setQuestions(data[0]); setScore(0); setLock(false); setResult(false); }; return ( Quiz App {result ? ( You scored {score} out of {data.length} Reset ) : ( {index + 1}. {questions.question} { checkAns(e, 1); }} > {questions.option1} { checkAns(e, 2); }} > {questions.option2} { checkAns(e, 3); }} > {questions.option3} { checkAns(e, 4); }} > {questions.option4} Next {index + 1} of {data.length} questions )} ); }; export default Quiz;
@SSJwalker8 ай бұрын
@@volkan9799 Thanks this helped me
@oqant0424Ай бұрын
23:00
@ultimategamer51365 ай бұрын
Do you have a report and source code for this I have to make this for my college mini project?
@rahulkumar120869 ай бұрын
Can anyone explain how he chosen correct and wrong option ?
@omarbarbeir9887 Жыл бұрын
There is error appears after make option array it says expected an assignment or function call and instead saw an expression
@Jon-tp6gr7 ай бұрын
Hey, did you ever figure out how to fix it I'm having the same problem.
@LeanAlcala-fu7vq8 ай бұрын
why doesn't it work if I put npm ? What should I do?
@sundareeshwarand2 күн бұрын
why we using let instead of const
@hotshot66749 ай бұрын
How do I add a menu at the beginning where I could choose from different quiz categories? I tried to add it with Chat GPT but it was not able to fix it. Help? ;-;
@Codenow102228 ай бұрын
thanks for this video. please provide at least css source code it will help us to save time
@Asadullah-b1e4p8 ай бұрын
how intresting if we you create in tsx
@ponmugikumaresan50833 ай бұрын
Error . useRef is not defined 😢
@quotespower991111 ай бұрын
Bhai me jab yeh simple sa bana rha tha muje 3 hours lag gye aur kuch bhi nahi bana . Bro logic hi nhi bann par rha tha . Bhai bahut demotivate ho jaata hu ek basic sa project nahi bann pata lekin jab koi videos dekhta hu toh pata lagta ha kitna basic logic tha me kyu nahi kr paaya
@chetankumar946310 ай бұрын
Bare problem ko chote chote problem me break karo fir un chote problem ko solve karne ki kosish karo.
@helloworld20546 ай бұрын
Sabse pehle dekh dekhkar hi banao, phir code ko samjho, pura logic, code flow, kaise kya ho raha hai. Uske baad khud se try karo bina dekhe, try karte raho jab tak bann nahi jata
@farispepic5 ай бұрын
Where have source code for this project ?
@GreatStackDev5 ай бұрын
Please send me an email, will send you the source code.
@farispepic5 ай бұрын
@@GreatStackDev i send but email is not send in comment
@sparsh-0384 Жыл бұрын
For multiple li u can li*number of li u want
@GreatStackDev Жыл бұрын
thanks for comment, it will help all viewers
@nardoneleonard100 Жыл бұрын
what if .. I don't want to add the next button. it atomically switch to the next question when any answer I selected … please help
@Code_Verse016 ай бұрын
36:27
@brest_brest10 ай бұрын
Give me the Code Please🥺🥺
@Azibek_10 ай бұрын
Pchool nachooy
@technologytechnepal2391 Жыл бұрын
How to make silent exploit using javascript
@rishavkumar669810 ай бұрын
can we get the source code
@zaynindiafans8503 Жыл бұрын
Why you don't give source code with project?😅
@idevkr Жыл бұрын
All source code is provided to those who join this channel 🧑💻
@zaynindiafans8503 Жыл бұрын
@@idevkr which channel???
@idevkr Жыл бұрын
@@zaynindiafans8503 youtube channel join button
@JustCoNa Жыл бұрын
@@zaynindiafans8503 definitely not the channel which posted this video
@marghoobalam987411 ай бұрын
can anyone provide me the Quiz.jsx code
@Kleolit8 ай бұрын
I need all your code
@HimanshuYelane-rc6gm6 ай бұрын
bhai source code dete to accha hota
@SamuelMaiva Жыл бұрын
How can I contact you
@mohmmedkaifsakali4673 Жыл бұрын
I want to talk to you regarding business purpose, how should I contact you...