logo

Crowdly

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

✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.

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"

Більше питань подібних до цього

Хочете миттєвий доступ до всіх перевірених відповідей на learning.richfield.ac.za?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!