Freecodecamp: Inconsistent Indentation in Understanding Boolean Values

Created on 18 Nov 2018  Â·  6Comments  Â·  Source: freeCodeCamp/freeCodeCamp

Describe your problem and how to reproduce it:
I feel as though this question's starter code is inconsistent with all the surrounding questions, where the body of functions are indented.

The return false (and potentially the comments above and below it) should be indented to make the challenge consistent, and encourage good style.

Add a Link to the page with the problem:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/understanding-boolean-values

Tell us about your browser and operating system:

  • Browser Name: Chrome
  • Browser Version: Version 72.0.3613.0 (Official Build) canary (32-bit)
  • Operating System: Windows 10

If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):
image

first timers only help wanted learn

Most helpful comment

@akkatracker Go ahead. Feel free to ask any questions if you get stuck.

All 6 comments

Hi @akkatracker,

I agree, this is small bug. Would you be interested in fixing this?

I'm happy to leave it open for a first timer ☺

Hi @ezioda004

I will like to take up the task

@akkatracker Go ahead. Feel free to ask any questions if you get stuck.

Hi @akkatracker and @ezioda004 I have fixed the inconsistency

Fixed via #34373

Was this page helpful?
0 / 5 - 0 ratings