Skip to content

Add example of LLM recall prompt to variables lesson - #2006

Open
pdjota wants to merge 1 commit into
mainfrom
add-js-variables-llm-practice
Open

Add example of LLM recall prompt to variables lesson#2006
pdjota wants to merge 1 commit into
mainfrom
add-js-variables-llm-practice

Conversation

@pdjota

@pdjota pdjota commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Add an example prompt that trainees can use to practise JavaScript variables with an LLM.

The prompt asks the LLM to act as a tutor: it asks one question at a time and gives hints before revealing the answer. A sample discussion shows trainees how this approach supports active recall without giving answers in advance.

https://deploy-preview-2006--cyf-curriculum.netlify.app/itp/javascript-fundamentals/sprints/2/prep/#variables

@netlify

netlify Bot commented Sep 4, 2026

Copy link
Copy Markdown

Deploy Preview for cyf-curriculum ready!

Name Link
🔨 Latest commit 7b5a2ad
🔍 Latest deploy log https://app.netlify.com/projects/cyf-curriculum/deploys/6a9b26f7160e7a0008fc3018
😎 Deploy Preview https://deploy-preview-2006--cyf-curriculum.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 85 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Sep 4, 2026

Copy link
Copy Markdown

Deploy Preview for cyf-common ready!

Name Link
🔨 Latest commit 7b5a2ad
🔍 Latest deploy log https://app.netlify.com/projects/cyf-common/deploys/6a9b26f7aefc740007e4b929
😎 Deploy Preview https://deploy-preview-2006--cyf-common.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@pdjota
pdjota requested a review from Poonam-raj September 4, 2026 20:16
@pdjota

pdjota commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

hey @Poonam-raj as we discussed today, here's an example of prompt to include in the chapter for trainees. Let me know it this helps.

@Poonam-raj Poonam-raj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some bits just needed to supplement the prompt suggestion. Prompt works well though I can see this making a difference


### Putting it into practice

You can use an LLM such as Claude or ChatGPT as an interactive tutor. For example, copy this prompt:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
You can use an LLM such as Claude or ChatGPT as an interactive tutor. For example, copy this prompt:
You could use an LLM such as Claude or ChatGPT as an interactive tutor. For example, copy this prompt:

Ask me to predict what the code prints and explain each concept. Give me hints before
revealing any answers.
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could add a brief explanation of what this prompt will do: we're telling it to make a quiz about the concept we're learning here, with a specific goal to help us learn, not just give us information
or similar

revealing any answers.
```

#### Sample discussion

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this just needs a bit of expansion - like here's an example of what you might see in the chat.

@github-project-automation github-project-automation Bot moved this from 📋 Backlog to 🔖 Ready in Curriculum Planning Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🔖 Ready

Development

Successfully merging this pull request may close these issues.

2 participants