Skip to content

Two comma splices in instructions-- React: Render with an if/else condition #17721

@terryjreynolds

Description

@terryjreynolds

Two comma splices in the instructions that could be cleaned up.

https://learn.freecodecamp.org/front-end-libraries/react/render-with-an-ifelse-condition

Comma Splice #1
Paragraph one (second sentence) reads: " When the condition is true, one view renders, when it's false, it's a different view."

The comma after 'renders' should be a period or semi-colon.

It should read: " When the condition is true, one view renders. When it's false, it's a different view."

Comma Splice #2
The Note section at the end of the instructions pane reads: "Note: You must write an if/else to pass the tests, use of the ternary operator will not pass here."

The comma used after 'tests' should be a period or semi-colon.

It should read: "Note: You must write an if/else to pass the tests. Use of the ternary operator will not pass here.

Chrome
Version 67.0.3396.87 (Official Build) (64-bit)
Windows 10

In the screen shot, the comma splices are circled in red.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions