Learn computer science

Full Version: Survey Button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Mr. MacKenty,

I was wondering how I could make a 'Click here to take a survey' button on the homepage which would bring me to another page. I tried using previous assignments to help but I couldn't figure it out. Could you help me?

Thank you.  Big Grin
PHP Code:
<div class="text-center" style="float:center">
          <button type="button" class="btn btn-primary">Click here to take a survey! <form action="Workout_survey.php" method="POST"> </form> </button>
Please try this: 

<a class="btn btn-primary" href="Workout_survey.php" role="button">Link</a>