From 18ac05884058d034c8c07bf94ce4467e22cafe7d Mon Sep 17 00:00:00 2001 From: Randell Dawson <5313213+RandellDawson@users.noreply.github.com> Date: Fri, 26 Mar 2021 12:01:20 -0600 Subject: [PATCH] fix(curriculum): Improve wording of test text (#41606) Co-authored-by: Ricardo Passos <55499252+dizz-y@users.noreply.github.com> --- .../basic-css/use-rgb-values-to-color-elements.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/use-rgb-values-to-color-elements.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/use-rgb-values-to-color-elements.md index 9f6b4abcd4..a280b1cfad 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/use-rgb-values-to-color-elements.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/use-rgb-values-to-color-elements.md @@ -27,7 +27,7 @@ Instead of using six hexadecimal digits like you do with hex code, with `RGB` yo If you do the math, the two digits for one color equal 16 times 16, which gives us 256 total values. So `RGB`, which starts counting from zero, has the exact same number of possible values as hex code. -Here's an example of how you'd change the body background to orange using its RGB code. +Here's an example of how you'd change the `body` background to orange using its RGB code. ```css body { @@ -47,7 +47,7 @@ Your `body` element should have a black background. assert($('body').css('background-color') === 'rgb(0, 0, 0)'); ``` -You should use `rgb` to give your `body` element a color of black. +You should use `rgb` to give your `body` element a background of black. ```js assert(code.match(/rgb\s*\(\s*0\s*,\s*0\s*,\s*0\s*\)/gi));