I’ve had a search and I can’t find the answer. I’m making my first app (an ESL quiz app) and everything is working great except trying to display images. I was following the quiz app blocks guide: Quiz App Blocks Walkthrough - YouTube
I’ve tried 2 different ways to display the right image for the right question.
I have a database with questions and answers. I want to display an image with each question. I have an ‘images’ column and in there I’ve put a URL to link to the image. I used a block like this…
but that didn’t work. It wouldn’t load the image.
- I also have these images as assets. I named the images the same as their question number so I tried to use it with a block like this:
(because the question number is the same as the image name).
To be clear. When the student is on question 1, I want it to display the question 1 image. When they’re on question 2, I want it to display the question 2 image. I want to build it in a way where I can simply add new lines to the database without having to add new blocks for every question.