From e41f0782ea002feb2bd6aa7c1a6875dd131ecb25 Mon Sep 17 00:00:00 2001 From: ByronCoder Date: Thu, 26 Jul 2018 21:50:45 -0400 Subject: [PATCH] fix(challenges): changed complementary color for blue to orange ISSUES CLOSED: #17934 --- .../applied-visual-design.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/challenges/01-responsive-web-design/applied-visual-design.json b/challenges/01-responsive-web-design/applied-visual-design.json index 38702739ea..43b171d39b 100644 --- a/challenges/01-responsive-web-design/applied-visual-design.json +++ b/challenges/01-responsive-web-design/applied-visual-design.json @@ -1768,11 +1768,11 @@ "Color theory and its impact on design is a deep topic and only the basics are covered in the following challenges. On a website, color can draw attention to content, evoke emotions, or create visual harmony. Using different combinations of colors can really change the look of a website, and a lot of thought can go into picking a color palette that works with your content.", "The color wheel is a useful tool to visualize how colors relate to each other - it's a circle where similar hues are neighbors and different hues are farther apart. When two colors are opposite each other on the wheel, they are called complementary colors. They have the characteristic that if they are combined, they \"cancel\" each other out and create a gray color. However, when placed side-by-side, these colors appear more vibrant and produce a strong visual contrast.", "Some examples of complementary colors with their hex codes are:", - "
red (#FF0000) and cyan (#00FFFF)
green (#00FF00) and magenta (#FF00FF)
blue (#0000FF) and yellow (#FFFF00)
", + "
red (#FF0000) and cyan (#00FFFF)
green (#00FF00) and magenta (#FF00FF)
blue (#0000FF) and orange (#FFA500)
", "There are many color picking tools available online that have an option to find the complement of a color.", "Note
For all color challenges: Using color can be a powerful way to add visual interest to a page. However, color alone should not be used as the only way to convey important information because users with visual impairments may not understand that content. This issue will be covered in more detail in the Applied Accessibility challenges.", "
", - "Change the background-color property of the blue and yellow classes to their respective colors. Notice how the colors look different next to each other than they do compared against the white background." + "Change the background-color property of the blue and orange classes to their respective colors. Notice how the colors look different next to each other than they do compared against the white background." ], "tests": [ { @@ -1783,9 +1783,9 @@ }, { "text": - "The div element with class yellow should have a background-color of yellow.", + "The div element with class orange should have a background-color of orange.", "testString": - "assert($('.yellow').css('background-color') == 'rgb(255, 255, 0)', 'The div element with class yellow should have a background-color of yellow.');" + "assert($('.orange').css('background-color') == 'rgb(255, 165, 0)', 'The div element with class orange should have a background-color of orange.');" } ], "solutions": [], @@ -1806,7 +1806,7 @@ " .blue {", " background-color: #000000;", " }", - " .yellow {", + " .orange {", " background-color: #000000;", " }", " div {", @@ -1816,7 +1816,7 @@ " }", "", "
", - "
" + "
" ], "head": [], "tail": []