question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Inconsistent Indentation in Understanding Boolean Values

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
ezioda004commented, Nov 18, 2018

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

1reaction
mikeattaracommented, Nov 18, 2018

Hi @ezioda004

I will like to take up the task

Read more comments on GitHub >

github_iconTop Results From Across the Web

Netplan configuration error: "Invalid YAML ... did not find ...
YAML is extremely indentation-oriented for how it interprets commands ... that might differ in your network so double check all the values!)
Read more >
Tumultuous TabErrors: Developing Good Python Code Entry ...
One of the things that has been constantly tripping me up are inconsistent tabs, spaces, and other such errors in indentation.
Read more >
Markdownlint Rules
Rationale: Consistent formatting makes it easier to understand a document. ... Parameters: indent, start_indented (number; default 2, boolean; default false).
Read more >
How does code style inconsistency affect pull request ...
to high complexity, we instead chose to use the Boolean values (violating a ... To further understand the code style inconsistency in PRs,...
Read more >
Source code should be indented consistently
This rule raises an issue when indentation does not match the configured value. Only the first line of a badly indented section is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found