workshopper / workshopper/javascripting

Students confused by "type of String" in if-statement problem

Open Beginner friendly
#206 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted translation
Dominant language
JavaScript
Stars
2.9k
Forks
1k
Avg merge
14h 47m
Merged PRs (30d)
1

Description

First of all, thanks for making this workshopper!

We facilitated a NodeSchool event in Sydney last weekend, and I saw several students confused by the wording of the following sentence:

Make the fruit variable reference the value orange with the type of String.

It looked like they weren't sure whether they needed to type "String" somewhere.

I'd like to suggest some alternative wordings:

Make the fruit variable reference the string value orange.
Make the fruit variable reference the string value "orange".

Would this help? What do others think?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with problems/if-statement/problem.md and review the sentence about assigning orange to the fruit variable. Read the issue discussion and compare the proposed alternatives for clarity. Done means the exercise wording clearly describes a string value without suggesting that students type String.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
85/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.