Skip to content

The goal of the "Basic Geography Quiz" is to test the user’s knowledge about the basic geography facts. The Quiz file contains 15 questions, 3 answer options for each question, and a submit button. The result will be displayed after pressing the submit button. The file is related to the files About, Exit and the Learn file.

Notifications You must be signed in to change notification settings

JelenaMilivojevicJM/Basic-Geography-Quiz_HTML-CSS-JavaScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic-Geography-Quiz_HTML-CSS-JavaScript

The goal of the "Basic Geography Quiz" is to test the user’s knowledge about the basic geography facts.🗺 🌎 🌍 🌏

The code is written in HTML, CSS, and JavaScript.📝

The Quiz file contains 15 questions, 3 answer options for each question, and a submit button.

The questions ask the user to select the correct answer. The user can choose between three options.

When the user clicks on the "Submit Answers" button at the end, the checkAnswers() function is called. The checkAnswers() function checks for the value of the selected radio button with the appropriate name attribute (for example, "answer1").🔎

If the value of the selected radio button is right, then the correctAnswers variable is incremented by 1, and so on. For example, if the user has only one correct answer, the result is displayed as "You got 1 out of 15 questions correct!".✔️

The Quiz file is related to the About page file, the Exit page file and the Learn page file.🌐

The relationship is created by hyperlinking appropriate words 🔑.

The About page file contains basic information about the quiz.📋

The Exit page file contains a goodbye message.👋

The Learn page file contains the explanation of the correct answers.📖

Each file contains navigation buttons.

About

The goal of the "Basic Geography Quiz" is to test the user’s knowledge about the basic geography facts. The Quiz file contains 15 questions, 3 answer options for each question, and a submit button. The result will be displayed after pressing the submit button. The file is related to the files About, Exit and the Learn file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published