Trying out our forms

Now that the hard work has been done, let's try out our forms in the running app:

  1. In the search box, enter the word typescript and press Enter, like so: 

The browser location query parameter is set as expected with the correct result rendering in the search form.

  1. Let's go back to the home page and click the Ask a question button and fill out the question form and click the submit button:

The form is disabled during and after submission and we receive the expected success message.

  1. Let's go back to the home page and click on a question and submit an answer:

Like the ask form, the answer form is disabled during and after submission and we receive the expected success message.

So, that's our three forms complete and working nicely.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.131.82.202