Connecting question to answer with php

Hey guys!

I am posed with a challenge, and after hours of searching I'm still not able to find much of a solution!

To set up the context: I'm trying to make some sort of "quiz", not for anything, just for fun. What I'm aiming to achieve is one of two things:
- The first is to make a static list on the left, and a drag and drop on the right, which will then return as a correct answer if the dragged and dropped item matches the place in the static list on the left.
- Connecting the dots! Same principle but different version. Draw a "line" from question to the correct answer.

I'm familiar with MySQL and Bootstrap, and I'm reading up on jQuery and Ajax!

Can anyone help me?