Articles on: Design & Customization

How to Add Custom JavaScript to Your Quiz

Introduction


Adding custom JavaScript to your Quizell forms and quizzes lets you tailor the user experience and extend functionality. You can use it to:


  • Add animations
  • Implement advanced logic
  • Integrate with third-party tools


This guide walks you through the process of incorporating custom scripts seamlessly.


Step-by-Step Setup Guide


Step 1: Select the Page


  1. Open Quizzes and click the quiz where you want to add custom JavaScript.



  1. In the page thumbnails below the preview, select the page that needs the script.



  1. In the right panel, click Add Content, then select Custom Script under Advanced.



Step 2: Add Your JavaScript


  1. In the Script Modal, enter your JavaScript code without the <script> tag. You can use Quizell Variables to read quiz data.
  2. Click Compile and Save to add the script to the page.
  3. Click Save at the top right of the editor to save your quiz.



  1. Preview and test your quiz thoroughly to ensure the script works as expected and doesn’t cause errors.


Important Note ⚠️


Custom JavaScript is available only on Plus, Pro, or Enterprise plans.


👉 To check your plan or explore upgrade options, visit our Pricing Page.


What’s Next?


Learn more advanced ways to customize your quiz:


Updated on: 11/11/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!