Exam Application Programming Tutorial JavaScript Quiz Online Test

  Рет қаралды 298,032

Adam Khoury

Adam Khoury

Күн бұрын

Пікірлер: 252
@jimbagsh9569
@jimbagsh9569 9 жыл бұрын
Thanks a million Adam. So clear. Was able to take your code and really go to town with it. Created a version that gives the questions at random and even the choices are random (instead of doing that myself for each question - the only caveat is that no two answers can be alike). I even set it up so you could use any combination of text, images or audio, ie text question with image answers. Couldn't have done it without your video. So, a big thank you.
@gubbedelux
@gubbedelux 9 жыл бұрын
You are the best to explain code on the internet. Your video says more than 10 books in the same subject. Thanks for your work.
@thecyrilcril
@thecyrilcril 9 жыл бұрын
I love this tutorial. will love to see a volume 2 or continuation of this tutorial, that features timed exam duration, auto submission on time elapse and unaltered clock count even on page reload
@newsmix8659
@newsmix8659 5 жыл бұрын
simplified explanation of an otherwise complicated process! congratulations are in order, sir.
@adrianmbugua8344
@adrianmbugua8344 9 жыл бұрын
wow super ! so practical . yours was the only tuts I got explaining multidimensional arrays without it looking like rocket science! Thanks man !
@MrSociopatu
@MrSociopatu 6 жыл бұрын
This is one of the best method of coding out there I could find to make this kind of project. Is so oldschool and simple, thanks alot for this! I hope you will make more JS projects in the future.
@thepixieblaze8449
@thepixieblaze8449 6 жыл бұрын
you made it so simple and easy to understand !!!!!!!!!!!!!!!!!!!!!!!!! :) :) i am new at coding , and working on something similar and having tough time on it ......... your code is so clean , and super understandable for beginners , thnx a ton !!!! :)
@adrianmobley6805
@adrianmobley6805 9 жыл бұрын
I love this tutorial. I've learned a lot of good stuff and new techniques. I hope to find more tutorials just like this, that explain how to make an exam web application. I would especially like a tutorial that goes into greater detail on how to hide the answers to an exam question. That sounds fascinating to me.
@formsmama5584
@formsmama5584 9 жыл бұрын
After weeks and weeks of looking at different video, I have to say you are the best. Thanks for sharing the videos.
@General_Aladeen
@General_Aladeen 10 жыл бұрын
Thank You Adam. You make things so easy. I am going to modify this with MYSQL PHP and Ajax without a framework.
@FnooneXnoname
@FnooneXnoname 10 жыл бұрын
yes! Share Full Stop
@wasswassim7483
@wasswassim7483 6 жыл бұрын
could you please show me how did you make this work with ajax, anything helpful is appreciated :) .My email is goldina007@gmail.com
@jyothsnaakyana565
@jyothsnaakyana565 6 жыл бұрын
Please send your developed programme
@Ammu.gaming529
@Ammu.gaming529 3 жыл бұрын
Thanks a lot for posting such an interesting video for making quiz
@YannisStarwalker
@YannisStarwalker 10 жыл бұрын
Very interesting indeed. Thank you, sir!!! Wouldn't it be more dynamic and easier for the programmer to handle if the correct answer was the (lets say) first of the given options, then use that "magic" shuffle function you showed us on an earlier video (memory game tutorial), to shuffle the options before rendering into the test div? It could also allow the programmer to have several given options on each question and just run a for loop for gathering all options off each sub array (after excluding the first element which the question of course). The radio buttons would be given an id containing the specific index of the option, which would be passed to the checkAnswer() function along with the index of the subarray (index of the specific question). The function would compare the chosen option's index with the first given option of the original array (before they were shuffled). It might require a lil more coding in the first place but it would make forming the multidimensional array (which can be modified several times) a lot easier. Just my 10cents thought.
@GISNEMA
@GISNEMA 8 жыл бұрын
I love the way you explain coding. Will check out the previous video to have a better understanding. Looking for a way to create a quiz for an app. I am not a coder but I guess by the time I am through with your tutorials I will be lol
@destofesky
@destofesky 9 жыл бұрын
thanks Adam , actually i'm looking for form with multiple choice choices , for tour so , my customers can choice the city, the tour , how many days , which day they will arrive and ... atc , it's so helpful what you are doing here , really appropriate thanks again
@quraisahhamid7494
@quraisahhamid7494 7 жыл бұрын
thanks for the tutorial @adam khoury it help me out to refreshing my knowledge php language.
@adamhussein496
@adamhussein496 7 жыл бұрын
Great video. If I were to add the questions I got wrong on the last page, what would I be looking to add in the code?
@AlmutasimAlmazidi
@AlmutasimAlmazidi 5 жыл бұрын
Thank you for excellent explanation Do you have any further method to save questions into database and re-use it instead of hard coding??
@taibouniwebsolution9811
@taibouniwebsolution9811 6 жыл бұрын
You're a great teacher sir
@gman3841
@gman3841 8 жыл бұрын
Adam i have made exactly what you have made, but is not working for me, i don't know nothing about programming, just needed to make a quiz test, maybe you have made something not shown on the tutorial?
@princechuks7149
@princechuks7149 4 жыл бұрын
BOOM!!!!! This is the bomb!
@haili903
@haili903 7 жыл бұрын
thanks for this great and easy-to-follow tutorial. You are a incredible teacher!!! please keep uploading more of these
@gobindapaul8177
@gobindapaul8177 5 жыл бұрын
It's fantastic. U hv save my lot of time. Thanks bro
@dburnham1941
@dburnham1941 7 жыл бұрын
I hope others could use this for similar programs they are working on.
@LearnerCB246
@LearnerCB246 7 жыл бұрын
Sir,my quiz follows your example. great learning tool. I have a 20 question quiz and for some reason it is not reading one of the questions. Also I was trying to add a certificate at the end of the quiz. more work, because now I need to create a input screen and track name and what else.What I really need more info on was the AJAX or MySQL option..
@gerardotopete9711
@gerardotopete9711 4 жыл бұрын
I want to learn how to external source XML file for the questions and answers part. Can you tell how can I find a good tutorial to learn just that about XML?. Also I wonder why you decided to use an eventlistener instead of putting the onload event to the body tag.
@SamMalcolmMedia
@SamMalcolmMedia 9 жыл бұрын
Hi Adam, i want to make a similar quiz however with a large number of question and have it randomly pick say 10 from the set and feed them out. Can you comment on ammending this code to have a random question picker or link to another appropriate tutorial which could help? Thanks!
@AdamKhoury
@AdamKhoury 10 жыл бұрын
@feeltherainthatsoothesyou
@feeltherainthatsoothesyou 10 жыл бұрын
amazing. I need this kind of application for our system.
@feeltherainthatsoothesyou
@feeltherainthatsoothesyou 10 жыл бұрын
Thanks a lot sir
@AnandupadhyayJavaexp
@AnandupadhyayJavaexp 10 жыл бұрын
Adam if we want to give the random questions to individual student .....then how we do that??? pls tell.....
@General_Aladeen
@General_Aladeen 10 жыл бұрын
Anand upadhyay watch his tutorial in memory game programming.
@AmitChawhanamitc005
@AmitChawhanamitc005 10 жыл бұрын
Anand upadhyay I have also made that quiz question modules. I've used Random numbers and xml combination made a code such that it can get random XML file in which contain different questions !!!!!
@sachinrathore4460
@sachinrathore4460 6 жыл бұрын
Super....Nice..api... Thanks for Mack video.
@MichaelAbebreseAgyeman
@MichaelAbebreseAgyeman 10 жыл бұрын
100% Grade: "You got " + parseFloat((correct * 100) / questions.length).toFixed(2) + "% out of " + ((questions.length * 100) / questions.length) + "% questions correct";
@mahtabdaneshnia6573
@mahtabdaneshnia6573 8 жыл бұрын
This is so informative, thank you. I `m going to make this online quiz in jquery, could you help with that please?
@maths4allbysrinivas
@maths4allbysrinivas 4 жыл бұрын
Which questions are correct we don't know from this test?It might better view questions after completion of test?
@vogelpfeife
@vogelpfeife 10 жыл бұрын
Hi Adam. I was wondering if you would be extending this tutorial which would give a correct answer or false answer after each question?
@vogelpfeife
@vogelpfeife 10 жыл бұрын
Is this done with an if statement?
@paultiffin9840
@paultiffin9840 9 жыл бұрын
Hi Adam, can you advise on how to make this a random question selection without repeats? Trying to create a simple revision quiz for myself for one of my uni subjects and would prefer not to start each time with the same questions in the same order.
@akshatakasar1997
@akshatakasar1997 7 жыл бұрын
Too much helpful code thank you so muchhhh....keep posting more videos....thank youuu sooo muchhhh
@vernielariosa9838
@vernielariosa9838 9 жыл бұрын
Good job sir
@PasqualItizzz
@PasqualItizzz 10 жыл бұрын
Initial I thought this was a test about javascript, which I thought would be a better start to the day than "what Frozen character are you?" or whatever's on facebook today ;)
@No_Direct_Translation
@No_Direct_Translation 6 жыл бұрын
Unbelievable. Well done.
@mohammedalboraich629
@mohammedalboraich629 6 жыл бұрын
important erase test_status variables. thank you for your video and website.
@greeceardz195
@greeceardz195 7 жыл бұрын
and also get the value of their answer or what choice they take and then identifies if it is correct on wrong. hope you could help thanks!
@mg9044
@mg9044 10 жыл бұрын
Thank you Adam this is very useful. I have a question though. How could you go back to the previous question? If I decrease the "pos" variable by one, it doesn't work :/
@shantanupethe
@shantanupethe 8 жыл бұрын
I need cutomised Quizzer application for my website and Mobile application... can you provide the same????
@sushildixit1653
@sushildixit1653 6 жыл бұрын
very helpful video thanks sir
@danasugu1767
@danasugu1767 9 жыл бұрын
Hi Adam! thanks for the tutorial. I wonder if the code can be used for a quiz that does not have a correct answer, as in a personality test quiz where you just end up with a personality type.
@konosh93
@konosh93 9 жыл бұрын
Thank you for the wonderful demonstration.
@gsvkck
@gsvkck 10 жыл бұрын
Ok, so I saw the previous video where you showed how to allow users to input name, sex, and country. I still want to know how to connect that user input info to the quiz?
@ultrasamad
@ultrasamad 9 жыл бұрын
You and your videos are awesome! keep it up.
@sksaik1992
@sksaik1992 5 жыл бұрын
Still Using this Code Thanks for ur help
@pastonnom88
@pastonnom88 7 жыл бұрын
Nice!! How can we put pictures to the différente answers?
@newsmix8659
@newsmix8659 5 жыл бұрын
Very informative! Great work!
@gaurigokakakar6887
@gaurigokakakar6887 4 жыл бұрын
👏👏goood one 😊
@anuragrana6065
@anuragrana6065 6 жыл бұрын
Good job sir... Could u tell me if u have uploaded any video or link of any video where i can learn that hiding part that is ajax and sql thing?
@harrybeckwith576
@harrybeckwith576 8 жыл бұрын
Cheers Adam, is really helping me learn how to build projects in JavaScript! =0)
@jakubklos3438
@jakubklos3438 6 жыл бұрын
Hi!!! First of all thanks for the amazing tutorial, is a big step for all of us to understand how it's work. I was wondering what I need to do to stop the test going to the next question if any of the answers is not selected, because at the moment we can go throw this test without selecting any answer....:/ Thanks!
@jameshardaway9960
@jameshardaway9960 8 жыл бұрын
Adam, Using your tutorial, I'd like to have true and false questions. How would I modify your code for that feature? Also, how do I modify your code for questions that may have more than 3 choices? Your help will be greatly appreciated.
@tosinsog
@tosinsog 10 жыл бұрын
Thank you for the video. It was very useful.
@hopemgd
@hopemgd 9 жыл бұрын
Thanks for sharing!!! i found it very interesting.... but i have one question how can i make it for two user taking the quiz in sequentially and display the result after both finish taking the test.....?
@danielsilver965
@danielsilver965 6 жыл бұрын
this video was very helpful except there was one thing I couldn't figure out. How do I style the submit button with css? when I try to add a class or id the quiz no longer works. any help is greatly appreciated.
@tedlawrence9400
@tedlawrence9400 4 жыл бұрын
Good work Adam. How could I display the final results of the quiz, in another page?
@imir
@imir 9 жыл бұрын
what are the dependency and challenges to complete this application?
@ralfspinoza
@ralfspinoza 6 жыл бұрын
Good work. Thank you very much for that. One question: where did you get the voice generator at the end of the video?
@zakariaissah3265
@zakariaissah3265 9 жыл бұрын
Thanks Adam, I added some codes to shuffle the quiz, by then when you get to the middle of the quiz it goes to start all over again. What seem to the problem
@pasmadoXloco
@pasmadoXloco 9 жыл бұрын
Thank you for your tutorials!! they are the best, Is it possible you could do a timed quiz? Many thanks in advance!
@d.a.hunter1430
@d.a.hunter1430 7 жыл бұрын
Hi @Adam, thanks for all your hard work and great video! I am wondering, is there a way to track the users score and for me to get updated with the users results via email? would this be done through JS? Thanks a tonne! I am a total beginner and your videos are amazing.
@okendosmith1063
@okendosmith1063 7 жыл бұрын
thank u sir for this wonderful lesson but pls sir like u said at the end of this lesson that the best way is to use php and ajax so that all the question and answers will come from the database,can you help us with that sir.thank u
@JakeHillion
@JakeHillion 10 жыл бұрын
Thanks Adam, nice tutorial! I've been thinking, would it be possible to have a drop down list to pick from available exams and include the correct file? Thanks.
@MrGdsuta
@MrGdsuta 7 жыл бұрын
Hi I am thinking to create an online exam project using multiple choice questions type but with images (diagram/graph/picture) on the question statement as well as on its options. Do you have any suggestion or tutorial related? I'm thinking of using PHP and Database (like MySQl) is the only way. Thanks!
@sumangaliraju6926
@sumangaliraju6926 6 жыл бұрын
Very interesting
@AdedayoDaniel
@AdedayoDaniel 9 жыл бұрын
Thanks alot....All the way from Nigeria, i enjoyed d tutorial, it realy helped pls how can i add a time countdown and a previous button to change my prefered option.
@skilla10101
@skilla10101 9 жыл бұрын
Hey Adam I need to have a splash screen for my quiz just as you have in you video example with the background image and so forth, how can I do this?
@greeceardz195
@greeceardz195 7 жыл бұрын
hi. this is helpful but i just want to ask if any knows how to call all the questions in a function() i just really needed it. i hope you could help me
@emilychen1579
@emilychen1579 8 жыл бұрын
With the code you provided, if I click on an incorrect response for the first question, then leave the rest as blank, it will still say that I answered 1 question correctly. Can you take another look at this? Thanks.
@Djangokillen
@Djangokillen 10 жыл бұрын
I was wondering if you could do like "What color are you?" "Can we guess your real age?" because that would be real cool.
@collinrobinson1294
@collinrobinson1294 8 жыл бұрын
hey Adam, is there away to get questions from a database like mysql. i guess it want have to be by use AJAX i just would to know how can i go about doing it
@sachinrathoreindore3128
@sachinrathoreindore3128 6 жыл бұрын
Nice...........
@ryanazelore7960
@ryanazelore7960 8 жыл бұрын
thanks for the great video but what if the examinees wants to review their answers what code to use in order for the examinees to go back?, for example the examinees wants to go back to question 1 and change his/her answers? and also how about when refreshing a page? is there a way to randomize the questions? i know i'm asking too much but i hope you will answer my questions and also make a video that would be super awesome thank you in advance :D
@NirmalKumar-xs5gh
@NirmalKumar-xs5gh 5 жыл бұрын
Ryan u get your answer if yes then plz send code i also need bro.my email:-nirmalk0502@gmail.com.plz send bro its code nad solution.Thanks
@AndersonMaya
@AndersonMaya 9 жыл бұрын
Hi +Adam, is complicated adapt the code to put multiple answers? Could you help, please?
@rkm357
@rkm357 10 жыл бұрын
As could do the test but occupying text boxes, so that one write the answer
@harshavardhani4345
@harshavardhani4345 5 жыл бұрын
Thank you. I want to add backward question can you explain.i tried i didn't get it
@prachi-mane
@prachi-mane 2 жыл бұрын
Hello Sir, Thank you for this video. Can you tell us how to give 2 marks to each question and give negative marking 0.25 for a wrong question?
@Anna24Chiru
@Anna24Chiru 9 жыл бұрын
Thats very good. Thank you!
@happychibipanda
@happychibipanda 9 жыл бұрын
Just wondering- I want to make a sort of quiz, but it's a bit different from a normal quiz. I've seen something like it before, but I don't know what to call it so I can't google it. It basically has some people, places, or things, and it compares these things, 2 at a time. then you pick one, and the program rules that out from the results.... it's confusing I know...
@bhaskerthapa6534
@bhaskerthapa6534 9 жыл бұрын
thank you for sharing your knowledge
@vinzodarp8543
@vinzodarp8543 10 жыл бұрын
thanks man, you save my work.
@ScrotumPole
@ScrotumPole 10 жыл бұрын
instead of rendering to screen how about rendering to a printout in the correct position on a form?
@TheWebShala
@TheWebShala 6 жыл бұрын
Great explanation
@shakaama
@shakaama 10 жыл бұрын
Adam Khoury Can I ask what IDE you're using. And will it catch when you forget a semicolon, and recognize it. Was working on a project and got an error on the main page and took 30 minutes to figure out it was an error on the CSS. *sigh*
@General_Aladeen
@General_Aladeen 10 жыл бұрын
try to use LESS plugin in Sublime Text editor it has compiler so everytime you saved your css and if it does have an error you can spot the error right away,
@sachinrathoreindore3128
@sachinrathoreindore3128 6 жыл бұрын
Thanks......You......Sir Mack a project
@vasudhadixit538
@vasudhadixit538 4 жыл бұрын
Hi , just wanted to know if this code will work when multiple users are giving the quiz at the same time?
@GMTAHUKA
@GMTAHUKA 7 жыл бұрын
Hi there I really like your tutorial but i tried to work on notepad++ and followed every step exactly like you did but still failing. Could you please help and give me another possibility?
@falkirkvanhireremovals7306
@falkirkvanhireremovals7306 7 жыл бұрын
Hiya, excellent tutorial. I have a question though being a beginner an all ;) function _(x) { return document.getElementById(x); } I get the logic behind the function, but I'm baffled as to what purpose (x) argument serves as it appears nowhere else in the code. Is it a placeholder of some kind? Thanks man..
@JacobSmith-rq4gn
@JacobSmith-rq4gn 9 жыл бұрын
Adam u know if I add 2 more questions to the variable questions in ur code and set the answer to the 5th question b and 6th to c. If I take the quiz and only answer the 5th and the 6th questions I got 4 out of 6 in the result. Which is wrong, why is that? I shoud get 2 out of 6. How do I fix that?
@khalidQweder
@khalidQweder 10 жыл бұрын
Thank you Adam.
@sachinrathoreindore3128
@sachinrathoreindore3128 6 жыл бұрын
Super.........
@martingustafsson8353
@martingustafsson8353 8 жыл бұрын
How do I make a button where you get send back to the start to make the quiz again?
@DanielshockAndTyler
@DanielshockAndTyler 8 жыл бұрын
How can i do Multi choices? 1. Question with A),B) ... ?
@ianjonson4056
@ianjonson4056 10 жыл бұрын
Hi, I am new to this stuff and I have found your presentations really informative. I need to show images and ask true or false How do you code a true or false question in amongst the usual questions? Also i can add images but can anyone help me to insert an image for one particular question, please? Iain
@arabiccompprograming5161
@arabiccompprograming5161 9 жыл бұрын
Hello Adam, just want to ask about the process of externalizing the questions using src="q_list.js">? what will happen to the question variable because it looks like its used many times throughout the entire code. And how would I structure the questions in the external file. Thanks Adam
@MovieHeretic
@MovieHeretic 8 жыл бұрын
+Atike Abdullah By effectively making the questions array external and then including the "js" file the questions array is included in the code will operate exactly as it does if the questions array was declared and initialised internally. :) HTH
@arabiccompprograming5161
@arabiccompprograming5161 8 жыл бұрын
+MovieHeretic Thanks How about the concepts of building JavaScript quiz games smarter, which are time-based, and data stored within database, quiz game designed for many device sizes. what are your thoughts on this. One may want to create a multi-lingual Quiz portal. I would like to know what are your thoughts please. Thanks
@zenkariogaming9291
@zenkariogaming9291 7 жыл бұрын
What code to input so we can save and track results and auto check the questions
@dez_muzik6691
@dez_muzik6691 9 жыл бұрын
super helpful.. yet I still can't complete code on my own without cheating (watching a tut like this).. advice?
@dburnham1941
@dburnham1941 7 жыл бұрын
Adam, I am trying to send you some code that I am having a problem with. I want it to be a FREE PRACTICE TEST for anyone needing to take the written test to obtain a Florida Driver's License or Learner's Permit. Any suggestions or help would be greatly appreciated.
Learn JSON in 10 Minutes
12:00
Web Dev Simplified
Рет қаралды 3,2 МЛН
File Upload Progress Bar Meter Tutorial HTML5 Ajax PHP
24:39
Adam Khoury
Рет қаралды 199 М.
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 89 МЛН
This Game Is Wild...
00:19
MrBeast
Рет қаралды 157 МЛН
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 5 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 111 МЛН
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 414 М.
Multidimensional Array JavaScript Programming Tutorial
10:52
Adam Khoury
Рет қаралды 83 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 78 М.
How I Would Learn Javascript FAST in 2023 (from zero)
8:09
Internet Made Coder
Рет қаралды 341 М.
Multiphase Form Programming Tutorial Multi Step JavaScript PHP
20:47
Build A Quiz App With JavaScript
26:59
Web Dev Simplified
Рет қаралды 445 М.
JavaScript Unit Testing Tutorial for Beginners
48:32
Programming with Mosh
Рет қаралды 81 М.
Memory Game Programming JavaScript Tutorial
14:22
Adam Khoury
Рет қаралды 255 М.
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 89 МЛН