I need to make javascript code where i ask question from user and if he answers yes he will get new question but if he answers no he will only get third question not second. Then i need to save answers to database. How to start writing this code?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.