logo

Crowdly

Question Three (15 marks) Write a JavaScript code snippet that performs the fo...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Question Three (15 marks)

Write a JavaScript code snippet that performs the following:

  • Prompt the user to enter their mark and store the input in a variable named mark.
  • Use an if statement to check the value of the input:
    • If the mark is greater than or equal to 50, displays an alert message: "You have Passed"
    • Else, display message on the webpage: "Reregister the module"

More questions like this

Want instant access to all verified answers on learning.richfield.ac.za?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!