webdeveloper123 Posted April 19 Share Posted April 19 Hey guys, I've been developing this app for over a month now and I just sort of built it as I went along with no real design or specifications (apart from an ERD). I knew what I wanted but sort of used an ad-hoc manner in development. Now I have got to a stage where I'm not sure what my next step is. The app I am building is a quiz, loosely based on this quiz: https://www.bbc.co.uk/news/world-64825206 What I want is when the URL is loaded, to show the quiz Container with a "Start" Button. So a blank grey box with a "Start" Button. When the start button is pressed, then the first question comes up. Then if you visit the link above you will understand the next part. You see there is 3 choices, but mine will be 4 and you get the DOM scripting effect when You choose the correct answer and it goes green. Then you get green tick with a "Correct!". But I don't want the extra text underneath to explain why the answer was right (or wrong) But if you choose the wrong answer, you get a red X with "Wrong!" and then the correct answer goes green. But I don't want the percentages of how many people chose the choice. And then if you get the answer right or wrong, it will display a "Next" button to move onto the next question. I want the Next button done in AJAX so it loads in the quiz container without reloading the page. Then you get 1 point for one correct answer and at the end of the quiz you get your total amount based on how many you got right. That's about it. My home page looks like this at the moment: (e.g www.domain.com/index.php) Now obviously it says "Question does not exist" because I changed the quiz to use GET to scroll through the questions. obviously if I add ?question=1 to the end of the URL it will display question 1. Here is what the questions look like: Sorry for the long post but I'm really stuck on my next move. I have a bad feeling I've been developing the app the wrong way round. Many thanks Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.