Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I've copied my HTML code and script.js code. I'm having trouble putting the questions and answers in HTML code so my code can run the

I've copied my HTML code and script.js code. I'm having trouble putting the questions and answers in HTML code so my code can run the game quiz. Can someone help me, please. The HTML code just display the put your initials and submit using VScode.

JavaScript Quiz

JavaScript Quiz

"Inside which HTML element do we put the JavaScript?"

    //SCRIPT.JS

    // Define the quiz settings

    const quizSettings = {

    duration: 75, // in seconds

    penalty: 10, // in seconds

    questions: [

    {

    text: "What does CSS stand for?",

    choices: [

    "Computer Style Sheets",

    "Creative Style Sheets",

    "Cascading Style Sheets",

    "Colorful Style Sheets"

    ],

    answer: "Cascading Style Sheets"

    },

    {

    text: "What is the correct syntax for referring to an external script called 'script.js'?",

    choices: [

    "