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.

Assessment

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

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.

Description

help wanted translation

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?

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

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.

More from workshopper/javascripting

All issues in workshopper/javascripting

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.