From 3119dd4fd84759af7813048bbfbf6468e7485a49 Mon Sep 17 00:00:00 2001 From: Joshua <121734574+jhylacey@users.noreply.github.com> Date: Wed, 12 Apr 2023 21:29:03 -0500 Subject: [PATCH] Fix minor grammar mistakes (#5900) * Fix minor grammar mistakes * Apply suggestions from code review --------- Co-authored-by: Sophie Alpert --- src/content/learn/reacting-to-input-with-state.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/content/learn/reacting-to-input-with-state.md b/src/content/learn/reacting-to-input-with-state.md index 973ab4ccd..522aa63a1 100644 --- a/src/content/learn/reacting-to-input-with-state.md +++ b/src/content/learn/reacting-to-input-with-state.md @@ -4,7 +4,7 @@ title: Reacting to Input with State -React uses a declarative way to manipulate the UI. Instead of manipulating individual pieces of the UI directly, you describe the different states that your component can be in, and switch between them in response to the user input. This is similar to how designers think about the UI. +React provides a declarative way to manipulate the UI. Instead of manipulating individual pieces of the UI directly, you describe the different states that your component can be in, and switch between them in response to the user input. This is similar to how designers think about the UI. @@ -20,8 +20,8 @@ React uses a declarative way to manipulate the UI. Instead of manipulating indiv When you design UI interactions, you probably think about how the UI *changes* in response to user actions. Consider a form that lets the user submit an answer: -* When you type something into a form, the "Submit" button **becomes enabled.** -* When you press "Submit", both form and the button **become disabled,** and a spinner **appears.** +* When you type something into the form, the "Submit" button **becomes enabled.** +* When you press "Submit", both the form and the button **become disabled,** and a spinner **appears.** * If the network request succeeds, the form **gets hidden,** and the "Thank you" message **appears.** * If the network request fails, an error message **appears,** and the form **becomes enabled** again.