How to Make a Quiz App using HTML CSS Javascript - Vanilla Javascript Project for Beginners Tutorial

  Рет қаралды 170,254

Brian Design

Brian Design

Күн бұрын

Пікірлер: 255
@PyrousVideos
@PyrousVideos 3 жыл бұрын
For any mobile users who are coding this change the min-height of the .choice-container to 1rem It worked for me
@vikiink
@vikiink 2 жыл бұрын
I just started this tutorial! You are such an awesome tutor! Very clear, and informative on why you do the steps and perfect pace. Thank you so much for this tutorial!
@sakihikarujung
@sakihikarujung 9 ай бұрын
Do you have sheet and then make timer multiple choice with them instead of type problem and choices in the code.
@hervemalvina28
@hervemalvina28 3 жыл бұрын
Great video. Many thanks for your clear explanations of the javascript code
@Matt-ersOfFaith
@Matt-ersOfFaith 10 ай бұрын
Great tutorial! Learned some new things along the way such as the tag shortcuts! Thank you!
@seid5378
@seid5378 2 жыл бұрын
Thank you so much for this tutorial. I needed this for my upcoming project and applying javascript was hurting my head
@BrandonGiordano
@BrandonGiordano Жыл бұрын
Thanks so much. Had to complete this project for school and you helped me all the way through
@nekojcovek8466
@nekojcovek8466 3 жыл бұрын
This guy has such a good taste for colors
@MenyeMC
@MenyeMC 3 жыл бұрын
Good point, and fonts too. The choices he makes just "work" together. He knows what he likes and what he likes is good.
@vincentyou7302
@vincentyou7302 3 жыл бұрын
Hey is there a way I can see your github code or something ?
@madebymate4870
@madebymate4870 2 жыл бұрын
Thank you for this tutorial big man, javascript is pretty hard to learn but you explain it very well
@carlostho7403
@carlostho7403 2 жыл бұрын
Yea it is . I am learning it too
@ApeXPr1me
@ApeXPr1me 2 жыл бұрын
ratio lil jit
@RustyV
@RustyV 4 жыл бұрын
Huhuhujj i always got an error on the An error is saying Cannot set property 'innerText' of null at tgis line finalScore.innerText=mostRecentScore Edit: I got the solution! It is because my h1 id in end.html is finalscore but in the js, it is presented as finalScore! Thank you so much sir! New sub here!!
@mulumeh1
@mulumeh1 3 жыл бұрын
Thank you so much Brian. This is very helpful!
@tomsquad920
@tomsquad920 Жыл бұрын
Help. When I followed the tutorial up to 20.25 when he clicked play and a new screen showed up. When i try to click play the screen does not come up and it just says "your file couldnt be accessed". When I go into my folder it I can open game.html however they dont linktogether.
@jonathancohen1524
@jonathancohen1524 2 жыл бұрын
A great introduction to javascrpit helped me understand the concept so much better.
@ActiveDailyClips
@ActiveDailyClips 2 жыл бұрын
Amazing video, but could you share the source code?
@rekaiadraoui4060
@rekaiadraoui4060 Жыл бұрын
BTZ JS is space sensitive so if your js code isnt running check if you have any extra spaces
@The_Guarian_Angel
@The_Guarian_Angel 3 жыл бұрын
I need help I use the HTML code of your quiz but i have a problem. I have a question on my quiz but there is two right answer and i dont now how can i do it Thanks
@CodeNameNoah
@CodeNameNoah Жыл бұрын
What extension do you use to see wrappers or start-end elements in different colors?
@MsLuizdaniel
@MsLuizdaniel 3 жыл бұрын
Mano, você salvou meu TCC
@tigervieh
@tigervieh 3 жыл бұрын
você conseguiu? estou com um erro que não consigo resolver: Uncaught TypeError: Cannot set properties of null (setting 'innerText') , na linha 75 do game.js/ poderia me ajudar?
@marijajorgacevic1083
@marijajorgacevic1083 3 жыл бұрын
Hi Brian, can you send a link with the codes to download because it tells me that max_questions is not defined
@barnojamalova7856
@barnojamalova7856 3 жыл бұрын
Thanks it was helpful, but what if i want to put the buttons back and forward for the quiz.
@SandeshMotoVlogs
@SandeshMotoVlogs 3 жыл бұрын
Keep a question counter Everytime u click left button decrement it by one and when u click right button increment it by one
@salahaddin2009
@salahaddin2009 3 жыл бұрын
Hi how do I plot the quiz score on a graph so I can see overtime how I am performing in order to measure my learning goals?
@MrDuff158
@MrDuff158 3 жыл бұрын
Hey! Also interested in this did you figure it out?
@canvasnature3282
@canvasnature3282 3 жыл бұрын
You use a library get all the data you want to fetch and display them using Chart.js
@yazidali7071
@yazidali7071 4 жыл бұрын
Thank you youtube for showing me this channel... this is amazing.
@j4n1s16
@j4n1s16 3 жыл бұрын
how do i create multiple right answers? something like: question: 'What is 2+2?', choice1: '22', choice2: '4', choice3: '21', choice4: '4', answer: 2, 4,
@AsmaKhan-qf6gd
@AsmaKhan-qf6gd 2 жыл бұрын
Amazing Amazing sir you are super duper awesome thank you so much.
@axarious5846
@axarious5846 2 жыл бұрын
Hey, thank you so much for helping me, but can you change the question into audio rather than text? I have trouble adding the function to play audio into the javascript, can someone help?
@md.anisurrahman9459
@md.anisurrahman9459 2 жыл бұрын
Amazing video tutorial. Thank you, Brian!
@tanayanaik6912
@tanayanaik6912 3 жыл бұрын
Does the scoreboard gets saved in a database or something ??? or its just a local storage
@manhark7078
@manhark7078 3 жыл бұрын
How do I put the final score on the end page? Like 100 or 200(whatever the person got)?
@KeelanJon
@KeelanJon 3 жыл бұрын
The player score is saved to local storage when Brian uses the localStorage.setItem("mostRecentScore", score) method. You can get anything saved to local storage using localStorage.getItem("variableName");
@kerbyvalenzuela4210
@kerbyvalenzuela4210 3 жыл бұрын
@@KeelanJon Man how do I save it to a database?
@KeelanJon
@KeelanJon 3 жыл бұрын
@@kerbyvalenzuela4210 That depends on the back end you are using
@kerbyvalenzuela4210
@kerbyvalenzuela4210 3 жыл бұрын
@@KeelanJon I feel stupid for asking this but what's a back end?
@kerbyvalenzuela4210
@kerbyvalenzuela4210 3 жыл бұрын
@Yusuf Bey Thanks for that, Sir! 💗
@snarlyash8590
@snarlyash8590 2 жыл бұрын
Thank you so much for this tutorial it was very helpful please make more of these videos ; )
@souzamotasacul
@souzamotasacul 3 жыл бұрын
Hi Brian! How's it going? At 25:17 you said "Transition" but you typed "Transform" Thanks you for the content it is helping a lot! Keep it up!
@petervanderlind
@petervanderlind 2 жыл бұрын
How can I change the div into a p tag the way he's doing? My visual studio isn't doing it automatically. Thanks.
@GoldenIJ
@GoldenIJ 22 күн бұрын
Install 'prettier' extension in your VS code
@vuquang4071
@vuquang4071 3 жыл бұрын
What software do you use?
@arushibali7784
@arushibali7784 3 жыл бұрын
This was gr8 👏 but I wanted you to add a result button at the end to show the result.
@nikkoletashby1142
@nikkoletashby1142 2 жыл бұрын
Question: If you wanted to reset the scoreboard at the click of a button, how would you go about doing that?
@rutasverdesena2037
@rutasverdesena2037 Жыл бұрын
resetScore = e => { window.localStorage.clear('highScores'); }
@rachaelfavouradebanwo6465
@rachaelfavouradebanwo6465 Жыл бұрын
Thanks a lot Brian. Really helpful :)
@it_xyzhsjje
@it_xyzhsjje 3 жыл бұрын
Thanks I found this But but should zoom screen
@Djolicc
@Djolicc 2 жыл бұрын
Hey, hopefully somebody is going to see this. But like my problem is, the page after the game does not wanna show up. After completing the questions, it says "YOUR FILE COULDN'T BE ACCESSED. May somebody help me out with this? :) Also, GREAT VIDEO, loved watching it and using it.
@GameplayVideoRO
@GameplayVideoRO 3 жыл бұрын
How can I delete the highscores from the leaderboard? Or maybe reset it?
@fernandocampana9062
@fernandocampana9062 2 жыл бұрын
Hi! Do you figure it out?
@rutasverdesena2037
@rutasverdesena2037 Жыл бұрын
resetScore = e => { window.localStorage.clear('highScores'); }
@fabdan5745
@fabdan5745 3 жыл бұрын
@Brian thanks for the tut. I completed it, but none of my questions and answers are uploading nor is the rest working. Although I "carefully" followed along the Js part. Any help?
@didisimmons3177
@didisimmons3177 3 жыл бұрын
Hi @Fabrice Dan having the same issue the questions are not showing if the are answers correct or incorrect when clicked .Were you able to resolve it? if yes how , I have followed the video carefully but showing the error on the console "score value has been declared which is exactly the same as the video ".
@kendallpinto
@kendallpinto 3 жыл бұрын
@@didisimmons3177 You can view his github and figure out the error.
@adityaamar3780
@adityaamar3780 3 жыл бұрын
hey, I need help with storing user choice in the quiz to google sheet or some place. How do I get this done?
@edwardkabwmba5381
@edwardkabwmba5381 3 жыл бұрын
liked and subscribed, i am doing some project and i need something quick and you good
@fajarfaizin615
@fajarfaizin615 3 жыл бұрын
hi brian, this is amazing, can you share the source code?
@erzafixed5372
@erzafixed5372 3 жыл бұрын
+1
@pedroeosdinos7418
@pedroeosdinos7418 3 жыл бұрын
+1
@ahansinha1577
@ahansinha1577 3 жыл бұрын
+1
@lettucze
@lettucze 3 жыл бұрын
+1
@Yuvanz2.0
@Yuvanz2.0 2 жыл бұрын
+1
@atharvakadam4701
@atharvakadam4701 3 жыл бұрын
Everything seemed good but it would have been better if you would have explained it more clearly and doing the HTML first and then going on to the javascript and CSS later on, cuz it gets difficult for a beginner to understand from where are these HTML classes coming in JS files even before they are declared in HTML.
@gladringideonaroul7662
@gladringideonaroul7662 3 жыл бұрын
Thank You soooooooooooo much ........... this was really cool and helpful ... !!!
@it_xyzhsjje
@it_xyzhsjje 3 жыл бұрын
But it not working at the same any hidden skill then kindly share
@officialerenince
@officialerenince 3 жыл бұрын
How can i delete someones high-score?
@orsasson9592
@orsasson9592 3 жыл бұрын
Is that a responsive quiz?
3 жыл бұрын
hi guy, very helpful video, thanks for sharing
@kiritsuna
@kiritsuna 3 жыл бұрын
I'm using 10 questions I took from a JSON, because doing it on the js file would have been a lot of text. The problem is that I don't know how to link with Jquery AJAX, or other way, while changing only a little of the original code in your video
@julianabz
@julianabz 3 жыл бұрын
sorry, i'm very noob, but how can i create a 'explanation page' after the user select a answer? sorry my english and thank for the video!!
@seanymac4514
@seanymac4514 Жыл бұрын
I am having an issue with getting the score to change whenever a question is answered correctly. I must have something screwed up but I am not sure what it is.
@seanymac4514
@seanymac4514 Жыл бұрын
Yep... was a typo.
@匚卄尺丨丂-q3b
@匚卄尺丨丂-q3b 3 жыл бұрын
Hye Brian, I'm having trouble with the progress bar under "#progressBar." Edit: never mind I figured it out btw nice tutorial
@nonagone9570
@nonagone9570 3 жыл бұрын
haha same, my problem is that i reffered to it as a an id and not a class
@balqiskhai_
@balqiskhai_ 3 жыл бұрын
i have the same prob. Ho do you fix it?
@smirdoejal
@smirdoejal 2 жыл бұрын
game.js:221 Uncaught TypeError: Cannot set properties of null (setting 'innerText') at getNewQuestion (game.js:221:28) at startGame (game.js:205:5) at game.js:275:1 what is happening here ??
@rafaelcampos3650
@rafaelcampos3650 Жыл бұрын
did you manage to solve the problem?
@kiwicrafter
@kiwicrafter 4 жыл бұрын
Hi Brian, any chance to download the entire code? Also if I am asking about an object, how can I add a small image? Any way I can communicate by email?
@briandesign
@briandesign 4 жыл бұрын
the github should be in the comments section
@kiwicrafter
@kiwicrafter 4 жыл бұрын
@@briandesign Thanks, I have another question, where are the scores filed? How do I delete them? Or manipulate them? I am setting up a quizz with a donated prize to be drawn, and while working on it I entered a lot of test scores. There will be hundreds or thousands of entries for the draw. So how can I delete the test entries?
@amittio6446
@amittio6446 4 жыл бұрын
did you found the github with is whole script?
@amaniarman460
@amaniarman460 4 жыл бұрын
@@amittio6446 github.com/briancodex/quiz-app-js
@Italy_paddathulu
@Italy_paddathulu 3 жыл бұрын
On which website you are working on it please tell
@-srishtirudra6670
@-srishtirudra6670 4 жыл бұрын
hello im making micro project on this topic sir so how link each pages means are u r ready on clickg next page how to do that plz help me out
@AzureX.official
@AzureX.official 2 жыл бұрын
hey what theme are u using by the way?
@eliabospino6475
@eliabospino6475 3 жыл бұрын
Hi, Brian. I have a doubt. I did a lot of testing and now I have a lot of names on the scoreboard. How do I remove or reset them? Please, I need help, man.
@paolostorres
@paolostorres 2 жыл бұрын
I love this quiz. What do I do to remove the score... and just have a result display rather than forwarding to an end.html?
@TrevorTyroneSSH
@TrevorTyroneSSH 2 жыл бұрын
google it
@justinaandreas647
@justinaandreas647 Жыл бұрын
Mine is not doing the same😢
@justinaandreas647
@justinaandreas647 Жыл бұрын
The progress bar failed me.
@littlepanda1861
@littlepanda1861 2 жыл бұрын
Hi Brian I copied it just like you did but my end page is not working... whenever the quiz ends it shows that your file could not be accessed it may have been moved ,edited or deleted ERR_FILE _NOT_ FOUND. but my file is still in the folder.
@lucadelbianco2503
@lucadelbianco2503 2 жыл бұрын
it works but you have to remove the slash from the href and replace the simple slash with index.html or highscores.html as needed .. after the corrections it works fine!
@esagecantu
@esagecantu 3 жыл бұрын
Great tutorial on how to make a trivia quiz. I will use it for my own trivia.
@NotMash
@NotMash 3 жыл бұрын
hey i need help with 46:24 when he incrementScore.i get a syntax error
@thisisrocee
@thisisrocee 3 жыл бұрын
is there a chance that i can put a image in these questions? im talking seperate image for each question. plsssss anyyone?
@Gamerdude-eb6tt
@Gamerdude-eb6tt 4 жыл бұрын
Is anyone having issues running the quiz fully like when you run the index.html and click play it doesn't bring you to the quiz
@mormedianl
@mormedianl 3 жыл бұрын
@HandyBrothers Did you link al the files? When you download it from GitHub all the links are not working so you need to link them again. You need to link all of the files in every file.
@jeanmelieroa4925
@jeanmelieroa4925 2 жыл бұрын
@@mormedianl How am I going to link them?
@kendallpinto
@kendallpinto 3 жыл бұрын
Hi Brain.. I would like to make it responsive for mobile too.
@computergeek5657
@computergeek5657 3 жыл бұрын
Teacher…thank you so much.
@rishaangupta131
@rishaangupta131 2 жыл бұрын
Great Tutorial!! I learned a lot!!
@Wonkanator2
@Wonkanator2 2 жыл бұрын
everything works but everytime I save a new highscore it doesn't add anymore to the list it just replaced the highscore with the latest score....
@williamlocke5059
@williamlocke5059 2 жыл бұрын
What is the advantage to using the arrow function notation versus the traditional method?
@xheladinosmanaj3873
@xheladinosmanaj3873 Жыл бұрын
it's more simple way of creating a function instead of creating it and putting it as a callback you create it directly there
@randalfjohn9848
@randalfjohn9848 2 жыл бұрын
When the wrong answer is selected and red colour appears, how do you also show green colour on the correct answer at the same time.
@liqvalen
@liqvalen 3 жыл бұрын
Thanks for the tutorial
@akiayoung9807
@akiayoung9807 3 жыл бұрын
Hi there is there a way to make it to some questions only have two or three answers?
@inhnam9089
@inhnam9089 3 жыл бұрын
that great, but how to do it using React?
@jedgomez1585
@jedgomez1585 2 жыл бұрын
hello can i ask where the data is saving in leader board?
@scriptnoob134
@scriptnoob134 3 жыл бұрын
This is really amazing!! Can I use this on the site I'm making?
@theklippet
@theklippet 2 жыл бұрын
How do you make a similar quiz app with different results just like a Buzzfeed quiz?
@bonkers1991
@bonkers1991 2 жыл бұрын
Hello! How to do a multiple correct answers for this multiple choice QUIZ??? NEED HELP... PLEASE *CRY*
@nutbutterntoejam2566
@nutbutterntoejam2566 2 жыл бұрын
Why is it that my first :root for style.css file is not working already? the background colour is not changing. Im using Brackets text editor. anyone can help?
@simon6325
@simon6325 3 жыл бұрын
thank you
@TimmyOnTech
@TimmyOnTech Жыл бұрын
is the repo for this project anywhere?
@beautifulmorning5027
@beautifulmorning5027 2 жыл бұрын
How can I add images in the choices instead of text ?
@khaleephauba5549
@khaleephauba5549 4 жыл бұрын
Great! Keep it up, How do I save the highscore to firebase and if user return and play again and also fill the form with the same username firebase will updated/increase his score and update his level in the table
@shivansh709
@shivansh709 2 жыл бұрын
You are just reading the code 😩
@miss_nougat.x473
@miss_nougat.x473 2 жыл бұрын
i got stuck at the start! when it says to type index.htm nothing happens ! what do I do
@TamasKoncz
@TamasKoncz 3 жыл бұрын
How can I import the question answers to a google sheets table? pls help mee
@robertocetzalalvarez8607
@robertocetzalalvarez8607 Жыл бұрын
there is no link of the repository on github?
@tgdevilgaming1673
@tgdevilgaming1673 3 жыл бұрын
Code source bro ???
@liqvalen
@liqvalen 3 жыл бұрын
github.com/briancodex/quiz-app-js
@amittio6446
@amittio6446 4 жыл бұрын
how can i get the full script
@georgyanarov
@georgyanarov 10 ай бұрын
for me nothing work when it need to apply the javascript anyone help me and tell me why please? i did exactly like him but nothing happen is ok unltil game.html after that nothing apply anymore
@randhirgupta9518
@randhirgupta9518 3 жыл бұрын
Very helping tutorial appreciated Brian
@yorgoelmoubayed3821
@yorgoelmoubayed3821 4 жыл бұрын
Hey, great tutorial thank you! Quick question, any ideas of how to add one or more images per question. Thanks for any help!
@iamrafa3619
@iamrafa3619 3 жыл бұрын
hey, what extensions you running on vs code ?
@briandesign
@briandesign 3 жыл бұрын
kzbin.info/www/bejne/ZoDOZJl9mtFnhc0 check this video I made
@kvrrcfatehgarhlibrary6812
@kvrrcfatehgarhlibrary6812 3 жыл бұрын
How to combine these all html ,css and js file
@ArunkumarJewaragi
@ArunkumarJewaragi 4 жыл бұрын
When I go to container designing it is not working brother
@joshualouisehonrado5269
@joshualouisehonrado5269 4 жыл бұрын
for me as a college student this is a great tutorial! thankyou for this wonderful tutorial!!!! i learn a lot
@goodcoder4953
@goodcoder4953 3 жыл бұрын
Awesome Work
@Truck_Kun69
@Truck_Kun69 3 жыл бұрын
thanku bro
@rutasverdesena2037
@rutasverdesena2037 Жыл бұрын
The progressbar doesn't work for me. Anybody could make it work? how did you do it?
@SaulBadman
@SaulBadman 3 жыл бұрын
I have a problem that the Play button is too small
@yasmimbarbosa4839
@yasmimbarbosa4839 4 жыл бұрын
GREAT VIDEO! THANK YOU SO MUCH!!!
Beginner Vanilla Javascript Project Tutorial
1:15:19
developedbyed
Рет қаралды 903 М.
А что бы ты сделал? @LimbLossBoss
00:17
История одного вокалиста
Рет қаралды 10 МЛН
the balloon deflated while it was flying #tiktok
00:19
Анастасия Тарасова
Рет қаралды 14 МЛН
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 79 МЛН
How to solve graphs like sakr ?
2:13:51
Ahmed Hassan (thanwya tutorials)
Рет қаралды 19
Beginner JavaScript Project: Build a Quiz App
21:39
Treehouse
Рет қаралды 1,9 М.
I BOUGHT A WRECKED ASTON MARTIN DB12 THEN REBUILT IT IN 24 HOURS
1:00:18
Mat Armstrong
Рет қаралды 2,6 МЛН
Learn CSS Grid the easy way
37:04
Kevin Powell
Рет қаралды 921 М.
Build A Quiz App With JavaScript
26:59
Web Dev Simplified
Рет қаралды 443 М.
HTML - Полный Курс HTML Для Начинающих [3 ЧАСА]
2:56:32
А что бы ты сделал? @LimbLossBoss
00:17
История одного вокалиста
Рет қаралды 10 МЛН