Check out this link: [login to view URL]
In the exercise, you are supposed to drag the words in the correct order to reconstruct the sentence.
This works fine on large-screen devices and shorter sentences.
But in the moment the screen width forces a line break, it doesn't work any more, as the code only allows for horizontal drag and drop, not vertical.
So I need the function "dragInit" to be either adapted or completely rewritten in a way that in the moment the screen width doesn't allow the sentence to be displayed in one single line, it switches to a vertical layout, which allows the user to reconstruct the sentence top-to-bottom instead of left-to-right.
You'll find a suggestion on how I would like it to look like in the attached file.
If you have any suggestions on how to achieve the same thing in a different way, maybe with a better UX, feel free to ping me.
17 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön