QUIZ (Due to the beginning of next class)

Create a website that asks a simple question and retrieves the viewer’s answer. Display messages on the screen depending on the answer:

• If the answer is correct, display “Congratulations!”.
• Otherwise, display a message like “Your answer was ---------. The correct answer is --------.”

Please, save this webpage as “quiz1.html” and ‘quiz1.php’

So what is the problem? Do you have a specific doubt? It seems you have to create a form, read the received input and display the result, it's easy if you read the documentation:

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.