From 40401b07920b58b27e92928870bdb7076361f808 Mon Sep 17 00:00:00 2001 From: Mallikarjun Ople <45136568+Mallikarjunople@users.noreply.github.com> Date: Mon, 7 Jun 2021 17:22:51 +0530 Subject: [PATCH] fix(curriculum): updated instructions on inline-styles (#42385) --- .../03-front-end-libraries/react/add-inline-styles-in-react.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/03-front-end-libraries/react/add-inline-styles-in-react.md b/curriculum/challenges/english/03-front-end-libraries/react/add-inline-styles-in-react.md index a1fbd8e498..0ced56da50 100644 --- a/curriculum/challenges/english/03-front-end-libraries/react/add-inline-styles-in-react.md +++ b/curriculum/challenges/english/03-front-end-libraries/react/add-inline-styles-in-react.md @@ -14,7 +14,7 @@ All property value length units (like `height`, `width`, and `fontSize`) are ass # --instructions-- -If you have a large set of styles, you can assign a style `object` to a constant to keep your code organized. Initialize a `styles` constant and assign an `object` with three style properties and their values to it. Give the `div` a color of `purple`, a font-size of `40`, and a border of `2px solid purple`. Then set the `style` attribute equal to the `styles` constant. +If you have a large set of styles, you can assign a style `object` to a constant to keep your code organized. Declare your styles constant as a global variable at the top of the file. Initialize `styles` constant and assign an `object` with three style properties and their values to it. Give the `div` a color of `purple`, a font-size of `40`, and a border of `2px solid purple`. Then set the `style` attribute equal to the `styles` constant. # --hints--