logo

Crowdly

Implement the client-side functionality for submitting the registration form ...

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

Implement the client-side functionality for

submitting

the registration form and presenting the result

  • When the submit button (“Register”) is clicked, a JavaScript function should extract the content of the form and send it as JSON object to the server at the specified resource name. 
  • Once the result response arrives at the client, show the output box containing the encouragement texts. 
  • Remember to distinguish the two cases: when fewer than three things have been registered, and when 3 or more things have been registered. 

It suffices to show the encouragement as plain text output in the designated HTML placeholder. 

Using .innerHTML is forbidden!

More questions like this

Want instant access to all verified answers on www.moodle.aau.dk?

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