mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-28 23:02:24 -05:00
fix(curriculum): correct typos (#58383)
This commit is contained in:
@@ -9,7 +9,7 @@ dashedName: step-18
|
||||
|
||||
To finish the project, you'll need to run the `updateResultsList` function when the recipe form is submitted.
|
||||
|
||||
Use an event listener to do so, and remember that you'll need to prevent the default behaviour (or the page will refresh).
|
||||
Use an event listener to do so, and remember that you'll need to prevent the default behavior (or the page will refresh).
|
||||
|
||||
Once that's done, take some time to experiment with different values in the form before moving on to the next module.
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ demoType: onLoad
|
||||
|
||||
# --description--
|
||||
|
||||
In this workshop, you will practice working with React functional components by building a resuable navbar.
|
||||
In this workshop, you will practice working with React functional components by building a reusable navbar.
|
||||
|
||||
All the CSS have been provided for you so you can focus on creating the navbar.
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ dashedName: step-27
|
||||
|
||||
# --description--
|
||||
|
||||
The behaviour of the `addItem` method needs to change if the product is already in the cart or not. Create a ternary that checks if the current product is already in the cart. Use `undefined` for both the truthy and falsy expressions to avoid a syntax error.
|
||||
The behavior of the `addItem` method needs to change if the product is already in the cart or not. Create a ternary that checks if the current product is already in the cart. Use `undefined` for both the truthy and falsy expressions to avoid a syntax error.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user