Skip to content

Conversation

@chvmvd
Copy link
Contributor

@chvmvd chvmvd commented Jan 31, 2026

MDXでの記述とViewSourceの参照先のサンプルプログラムで乖離が合ったため、MDXの記述に合わせました。

@chvmvd chvmvd requested a review from Copilot January 31, 2026 08:08
@chvmvd chvmvd marked this pull request as ready for review January 31, 2026 08:08
@cloudflare-workers-and-pages
Copy link

Deploying utcode-learn with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7d804d0
Status: ✅  Deploy successful!
Preview URL: https://290657f8.utcode-learn.pages.dev
Branch Preview URL: https://fix-get-element-by-id-typos.utcode-learn.pages.dev

View logs

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request fixes a typo in the sample code for the getElementById section of the DOM documentation. The sample code had a discrepancy with the MDX documentation - it used the variable name element while the documentation showed greetingElement.

Changes:

  • Updated the variable name from element to greetingElement in the sample JavaScript file to match the MDX documentation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants