Skip to content

Quizz with Runnable code #37

@alexeygrinevich

Description

@alexeygrinevich

My goal is to make a quizz where user needs to write code. The "Check" is supposed to validate the code (by running a piece) and become passed/failed based on validation result.

So I have everything in Lia - I can have code to run, I can have Generic quizzes. I'd love to have some tweaks if possible:

  1. If possible combine "Execute" button with "Check". I.e. pressing "Execute" also triggers "Check" if execution passed.
  2. Or vise versa - pressing "Check" runs execution and becomes checked if passed.
  3. Remember user's code (as it currently stores user input's)
  4. Have more control over "Execute" button if possible (it is now very small and not everyone finds it). Having "Execute" instead of icon would be awesome option in my case.

I managed to implement #2 by adding common

for quizz & code and then looking for a button control. If there any hints on how to do #3 or #4 that would be superawesome:) If not, LiaScript is still superawesome anyway:)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions