Forum Discussion
Boost Your Storyline Game with JavaScript!
Hi Daniel,
Your courses are interesting but what if somebody doesn't know javascript. How can interseting courses be created in absence of javascript knowledge?
Regards
Malvika
- DanielBenton3 days agoCommunity Member
Hi Malvika,
Thank you, it’s a great point you’ve raised. You could build most (though not all) of the functionality in my recent course examples without JavaScript, but it would require many more triggers and variables. For example, building the open-text assessment natively in Storyline would involve creating individual triggers, conditions, and variables for every possible question and acceptable answer, which can become time-consuming and tricky to maintain.
I often turn to JavaScript because it opens up so many possibilities in Storyline that go beyond what native triggers can achieve. It also keeps my projects much cleaner by reducing the number of variables and triggers required.
I shared the .story file so you can unpack the code and see how it’s applied—this approach helped me a lot when I was starting out. Articulate Heroes has some amazing examples too. My personal favourite is by Zsolt Olah - https://www.rabbitoreg.com/examples/p99/#/
These days, tools like ChatGPT make it even easier to get started. You can frame your ideas (e.g., “I want to create typo-tolerant open text assessments”), and it will help you translate them into usable JavaScript code for Storyline. That’s exactly how I built this project!
JavaScript isn’t essential for creating great courses, but it’s an incredibly powerful tool for dynamic interactions, customization, and efficiency.
Let me know if you decide to dive in—I’m happy to help where I can!
Regards,
Daniel