You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great job so far! Feel like this is your next step in terms of getting to the MVP you wanted...
Have a look at my week 3 project, where we did a similar thing - here's the link
What we did was create a separate "quiz answer" section in our html, then we would toggle between the questions/answers and the result using a display of "none" and a display of "block".
You can see this in the screenshot below - when the answer is correct/incorrect, we change the display of the section and also make a callback to our giphy API call which returns a giphy that we can display in the pop up.
Also I would bear in mind that if you are planning on showing a pop up, the user won't actually see your coloured red/green buttons - so maybe don't worry about the fact that currently, a user can click on more than one button. Adding the pop up will stop them from being able to do this.
If you do really want the user to see the green/red colour, you could perhaps set a timeout to 1 second so that the user sees the colour before being sent to the pop up.
The text was updated successfully, but these errors were encountered:
Great job so far! Feel like this is your next step in terms of getting to the MVP you wanted...
Have a look at my week 3 project, where we did a similar thing - here's the link
What we did was create a separate "quiz answer" section in our html, then we would toggle between the questions/answers and the result using a display of "none" and a display of "block".
You can see this in the screenshot below - when the answer is correct/incorrect, we change the display of the section and also make a callback to our giphy API call which returns a giphy that we can display in the pop up.
Also I would bear in mind that if you are planning on showing a pop up, the user won't actually see your coloured red/green buttons - so maybe don't worry about the fact that currently, a user can click on more than one button. Adding the pop up will stop them from being able to do this.
If you do really want the user to see the green/red colour, you could perhaps set a timeout to 1 second so that the user sees the colour before being sent to the pop up.
The text was updated successfully, but these errors were encountered: