Skip to content

Commit 4a1d743

Browse files
authored
fix(curriculum): add empty space to code example Toggle Text - step 13 (freeCodeCamp#62604)
1 parent dd43d97 commit 4a1d743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

curriculum/challenges/english/blocks/workshop-toggle-text-app/67cd61c24bfc0a240132fd2f.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Earlier, you reviewed how to work with inline conditional rendering. You are goi
1414
Here is an example of using the ternary operator to conditionally show the words `Hide` and `Show`:
1515

1616
```jsx
17-
<button>{isMenuVisible? "Hide" : "Show"} Menu</button>
17+
<button>{isMenuVisible ? "Hide" : "Show"} Menu</button>
1818
```
1919

2020
For the last step of the workshop, use the ternary operator to conditionally display the words `Hide` or `Show` for the message button. Place the condition before the `Message` text so it displays `Show Message` or `Hide Message`.

0 commit comments

Comments
 (0)