Forum Discussion

ValeriiaRekhkol's avatar
ValeriiaRekhkol
Community Member
7 hours ago

Can the Code Block Be Used for Automated Code-Checking? Plans for More Languages?

Hi everyone,

Our team is exploring ways to create more technical, programming-focused interactions in Articulate 360 courses.

I’m particularly interested in using the Code Block in Rise as a way for learners to submit or paste code, similar to how other coding-education platforms validate whether a learner’s solution is correct.

My questions are:

1. Is it currently possible (either natively or through a workaround) to use the Code Block as an input that can be programmatically checked for correctness? For example, allowing learners to paste their code and then having the system evaluate whether it matches the expected solution. 

2. Are there any plans to expand the Code Block to support more programming languages (such as Java, Python, or C) for syntax highlighting or other functionality? 

If anyone has experience attempting this (or insights into upcoming enhancements) I’d really appreciate your input.

Thanks in advance!

1 Reply

  • Thinking of the code block as a generic thing that can support multiple languages seems like it may hinder your understanding more than help. The block is essentially just a web iframe, I think. It's a modular webpage inside of a larger webpage (Rise) in the same way I can add a web object to my Storyline 360 project and put a simple hello world page in the web object.

    In that same vein, the code block will likely be limited more by the user than the platform. I asked copilot real quick for its take on simple text validation and it delivered quite easily:

    https://share.articulate.com/8blJlXylDI1-WI3B_btyI

    That being said, I see a multitude of huge gaps between "can JavaScript compare two strings?" and "can someone paste in 30 lines of Python and have it all be perfectly evaluated or identified." It's all technically the same thing, but it's a little deeper than letting someone know they forgot a closed-parenthesis. I don't get the impression whoever's asking you to look into this knows how difficult it would be, because if they did I feel like code blocks in Rise would be an automatic no.