Link your pages together

To take users from one page to another, either:

  • add HTML links to content
  • change the action attribute inside a form
  1. Open start.html in your app/views folder.
  2. Find the <a> tag with Start now inside.
  3. Change the value of the href attribute from # to /juggling-balls.

Go to http://localhost:3000/start and select the Start now button to check the link works.

  1. Open juggling-balls.html in your app/views folder.
  2. Find the line <form class="form" action="/url/of/next/page" method="post">.
  3. Change the value of the action attribute from /url/of/next/page to /juggling-trick.

Go to http://localhost:3000/juggling-balls and select Continue to check the link works.

  1. Open juggling-trick.html in your app/views folder.
  2. Find the line <form class="form" action="/url/of/next/page" method="post">.
  3. Change the value of the action attribute from /url/of/next/page to /check-your-answers.

Go to http://localhost:3000/juggling-trick and select Continue to check the link works.

The 'Check your answers' page links to the ‘Confirmation’ page by default. So you do not need to change the ‘Check your answers’ page.

Next (add questions to your question pages)