> For the complete documentation index, see [llms.txt](https://docs.autocontentapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.autocontentapi.com/code-samples/quizzes/nodejs.md).

# Node.js

Node.js snippets that mirror the quiz scenario recipes, from text and website quizzes to difficulty, language and projectId brand settings.

Run these Node.js snippets to mirror the [quiz scenario recipes](https://docs.autocontentapi.com/quick-start/quizzes/quiz-examples.md). See the [Node.js guide](https://docs.autocontentapi.com/code-samples/language-quickstarts/nodejs.md) for setup details.

## Recipes

* [📝 Create a Quiz from Text](https://docs.autocontentapi.com/code-samples/quizzes/nodejs/from-text.md)
* [🔗 Create a Quiz from a Website](https://docs.autocontentapi.com/code-samples/quizzes/nodejs/from-website.md)
* [🎚️ Set Difficulty and Language](https://docs.autocontentapi.com/code-samples/quizzes/nodejs/set-difficulty-and-language.md)
* [💡 Create a Quiz from a Topic Prompt](https://docs.autocontentapi.com/code-samples/quizzes/nodejs/from-topic.md)
* [🏢 Apply Brand Settings with `projectId`](https://docs.autocontentapi.com/code-samples/quizzes/nodejs/brand-with-project-id.md)

Prefer cURL? Jump back to the [quick-start examples](https://docs.autocontentapi.com/quick-start/quizzes/quiz-examples.md).
