how to have "click to see answers"

  • Unknown's avatar

    I would like to write a quiz or test where the questions would be immediately visible, and under each question there would be a “click to see answer” button or text, which if clicked would show another line of text with the answer / explanation.

    So I guess what I’m asking is what is how can I have text which is hidden initially but is revealed by clicking?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
  • Unknown's avatar

    A popup I think that would require the use of javascript which is not allowed here –

    the only suggestion would be to link to a quiz site – a few years ago there were sites that let you build tests,

    I looked into the quiz thing a few years ago and decided it would be too tough to easily do –

    the only possible work around would be to use a large number of page jumps to move around based on what choice a person clicked on – the page jump would then go to an answer – if correct you were told correct, if wrong then you were given the correct answer and the reason – then another page jump to the next question

  • Unknown's avatar

    Or you could use pagination. Just have the link to page 2, 3, 4 and so on for each question. Simpler than page jumps to code.
    http://en.support.wordpress.com/splitting-content/nextpage/

    Or use the carousel with images of the questions. The attachment pages allow for text in the description field so that could be where the answers would be viewed. The question could still be written in text with a very tiny “click here” image to get to the larger, readable question as an image and the answer in the description.

  • Unknown's avatar

    Or you could try cursor help if the answers are not really really long. That would just allow one to hover over the question to see the answer. No clicking. I’ve used it for definitions of words.
    https://en.forums.wordpress.com/topic/make-a-definition-appear-when-i-hover-over-a-word?replies=6#post-749245

  • Unknown's avatar

    Note: none of my suggestions tell a reader if their answer is correct or not. It’s only if someone is learning on their own, not looking for a score on a quiz.

  • The topic ‘how to have "click to see answers"’ is closed to new replies.