Building a Multiple Choice Quiz | Javascript | Tutorial 24


Giraffe Academy is rebranding! I’ve decided to re-focus the brand of this channel to highlight myself as a developer and teacher! The newly minted Mike Dane channel will have all the same content, with more to come in the future!

Source Code –

This video is one in a series of videos where we’ll be looking at programming in JavaScript. The course is designed for new programmers, and will introduce common programming topics using the JavaScript language.

Throughout the course we’ll be looking at various topics including variables, arrays, getting user input, loops, conditionals, interacting with the DOM and much more.

If you’re enjoying Giraffe Academy and want to invest in our future, consider leaving a contribution

Website –
Facebook –
Twitter –


Xem thêm bài viết khác:


  1. var problems= [
    prompt:"what is your name?n (a)deepan
    (b)ritan (c)Gita",
    answer:" a"
    prompt:"what is your age?n (a)10n
    (b)17n (c)18",
    answer: "c"

    prompt:"what is your scool?n (a)univrsaln
    (b)venkyn (c)kmc",
    answer: "a"


    var score = 0;

    for(var i=0;i<problems.length;i++ ){
    var response= window.prompt(problems[i].prompt);
    if(response==problems[i].answer ){
    marks++; alert("right!!");

    else{ "wrong!!!"};


    alert("you got"+score+"/"+problems.length);

    Can anyone help me with this code this is not working

  2. i create html page with moving imge ok after how could i add ai.js file to the html same image's up ?

    its coming js file up moving imge down how to get same border with all file ?

  3. hey mike i have one question about this
    can you set up a timer with it for user to answer their question within that time

  4. Finished your python lessons and am almost done with these ones. Your explanation of concepts is very well organized. Thank you so much.


Please enter your comment!
Please enter your name here