I’m struggling badly to link up elements & content to data in my app (I’m a newbie) and need advice on what DATA TYPES I should have in the database, which is possibly where I’m going wrong.
The app has three main pages:
- “Question page” - where users are asked questions, which there are four different “types” of
- “Answer page” - that show all the answers submitted by users to a particular question, and are ranked according to how many users give the same answer
- “A user’s store of answers page” - that show all the answers submitted to questions by a single user
I’m thinking therefore that I should have at least two data types, 1) User and 2) Question.
But do I need more data types?
The three different pages all need to link up to one another for the app to work. Hopefully the image below is self-explanatory.