diff --git a/seed/challenges/04-data-visualization/data-visualization-with-d3.json b/seed/challenges/04-data-visualization/data-visualization-with-d3.json index fe3ebb73449..623a3f0f751 100644 --- a/seed/challenges/04-data-visualization/data-visualization-with-d3.json +++ b/seed/challenges/04-data-visualization/data-visualization-with-d3.json @@ -359,7 +359,7 @@ "
selection.style(\"color\", (d) => {", "The
/* Logic that returns the color based on a condition */
});
style() method is not limited to setting the color - it can be used with other CSS properties as well.",
"style() method to the code in the editor to set the color of the h1 elements conditionally. Write the callback function so if the data value is less than 20, it returns \"red\", otherwise it returns \"green\".",
+ "Add the style() method to the code in the editor to set the color of the h2 elements conditionally. Write the callback function so if the data value is less than 20, it returns \"red\", otherwise it returns \"green\".",
"Note