Skip to content

Conversation

@Yasir-29
Copy link

This PR clarifies the instructions in the “Printing those products” exercise in the Arrays lesson.

The existing Step 3 asks learners to start a for...of() loop, but does not clearly explain that the loop should wrap Parts 3–6 of the exercise. This can be confusing for beginners, as the placement of the opening and closing braces is not explicit.

The updated wording makes it clear where the loop should begin and which parts it should encompass, without changing any code logic or solutions.

Changes made

Updated Step 3 instructions to explicitly state that the for...of() loop wraps Parts 3–6.

No code changes; documentation-only clarification.

Issue reference
Fixes #42517

@Yasir-29 Yasir-29 requested review from a team and mdn-bot as code owners December 24, 2025 04:19
@Yasir-29 Yasir-29 requested review from LeoMcA and sideshowbarker and removed request for a team December 24, 2025 04:19
@github-actions github-actions bot added Content:WebAPI Web API docs Content:Learn Learning area docs system [PR only] Infrastructure and configuration for the project size/s [PR only] 6-50 LoC changed labels Dec 24, 2025
@Yasir-29 Yasir-29 changed the title Clarify for...of loop scope in Arrays exercise instructions #42517 Clarify for...of loop scope in Arrays exercise instructions Dec 24, 2025
@sideshowbarker sideshowbarker removed request for a team and sideshowbarker December 26, 2025 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:Learn Learning area docs Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed system [PR only] Infrastructure and configuration for the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unclear instructions in challenge

1 participant