Skip to content

Improve initial what is js example#42629

Merged
pepelsbey merged 2 commits intomdn:mainfrom
chrisdavidmills:improve-initial-what-is-js-example
Jan 12, 2026
Merged

Improve initial what is js example#42629
pepelsbey merged 2 commits intomdn:mainfrom
chrisdavidmills:improve-initial-what-is-js-example

Conversation

@chrisdavidmills
Copy link
Contributor

@chrisdavidmills chrisdavidmills commented Jan 5, 2026

Description

The initial What is JavaScript? article in the Learn area has an initial example that could be improved — two of the stages of the example use screenshots, while the third uses a live example.

This PR changes it so that all stages use live examples, removes the unneeded screenshots, and improves the language (I've removed the reference to MDN Playground, as currently the example doesn't work in the Playground, because it doesn't respect the sandbox settings set in the live sample macro. I'll submit a separate issue for that — already being explored in mdn/fred#1073).

Motivation

Additional details

Related issues and pull requests

@chrisdavidmills chrisdavidmills requested a review from a team as a code owner January 5, 2026 13:13
@chrisdavidmills chrisdavidmills requested review from estelle and removed request for a team January 5, 2026 13:13
@github-actions github-actions bot added Content:Learn Learning area docs size/s [PR only] 6-50 LoC changed labels Jan 5, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 5, 2026

Preview URLs

Flaws (1)

URL: /en-US/docs/Learn_web_development/Core/Scripting/What_is_JavaScript
Title: What is JavaScript?
Flaw count: 1

  • macros:
    • Macro ? produces link /en-US/curriculum/ which doesn't resolve

@estelle estelle requested review from a team and pepelsbey and removed request for a team and estelle January 12, 2026 10:21
Copy link
Member

@pepelsbey pepelsbey left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you :)

@pepelsbey pepelsbey merged commit 09b05cd into mdn:main Jan 12, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:Learn Learning area docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments