I'm trying to make my button href to my /leaderboard page after my quiz app submits.
h1 Play Time 4 Trivia!
button Go
form(method='POST')
ul
each val in questions
li
div
label= val.Question
select(name=val.QuestionId)
option(value='true') True
option(value='false') False
button(type="submit") Submit
how would I go about having my submit button also redirect to another page without breaking my form submit?