Skip to content

Small fixes#1485

Open
Liam310 wants to merge 9 commits into
mainfrom
small_fixes
Open

Small fixes#1485
Liam310 wants to merge 9 commits into
mainfrom
small_fixes

Conversation

@Liam310

@Liam310 Liam310 commented Jul 9, 2026

Copy link
Copy Markdown

A series of small fixes to this module's coursework, including:

  • Various typo fixes
  • Updating existing provided code to follow good practices, see: Sprint-1/1-key-exercises/2-initials.js and Sprint-3/4-stretch/password-validator.js. The changes here don't undermine the aim of the tasks but avoid presenting practices (e.g. using let when const is more appropriate) that we wouldn't want trainees to internalise
  • Clarifying instructions, see Sprint-1/4-stretch-explore/chrome.md and Sprint-3/4-stretch/README.md
  • Clarifying ambiguous return value for calculateBMI in Sprint-2/3-mandatory-implement/1-bmi.js. Currently it says in one place that the "result will be displayed to 1 decimal place" but in another place just says to "return their BMI to 1 decimal place". I don't have have strong feelings as to whether this function ought to return a number or a string, so I opted for explicitly stating a string here to keep along the lines of the result actually being displayed to 1 decimal place

Liam310 added 8 commits July 7, 2026 14:58
In the interest of providing code snippets that follow good practices we advocate for, I think all these variable declarations should be const as there's no reason for them not to be.
The purpose of this challenge is to explore using the console, not to figure out how to find it
This edit attempts to set trainees of on the right foot, exhibiting good practices in our boilerplate code for them to build on.

@illicitonion illicitonion left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM - let's wait until August to merge this so that the current cohort have a consistent experience (and their PRs don't end up with merge conflict warnings which can be scary/confusing)?

Comment thread Sprint-1/4-stretch-explore/chrome.md Outdated
Co-authored-by: Daniel Wagner-Hall <daniel@codeyourfuture.io>
@Liam310

Liam310 commented Jul 9, 2026

Copy link
Copy Markdown
Author

I will put a note to merge this in August 🙂

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants