I am an absolute newbie in website development and was puzzled by how I can add this element to my website.
So, I want to create an element where the visitor can type in an answer, and then the answer gets checked against the correct answer and if the visitor’s answer is wrong then the website displays the correct answer.
I had tried searching for blogposts or articles on google that can help me, but they all state about quiz builders and typeforms; whereas, I simply want to make my website more interactive by having this responsive one-word Q&A element.
I’ve made a simple diagram to help illustrate my query.
Thank you for your time.