Data Visualization with D3: Style D3 Labels

https://learn.freecodecamp.org/data-visualization/data-visualization-with-d3/style-d3-labels/

Task wants me to set font-size to 25px and fill red, I try it:

.style("font-size", "25px")
.style("fill", "red»);

but tests says "The labels should all have a font-size of 25 pixels.»
What am I doing wrong?

P.S.Problem was with Safari, it worked well with Chrome

1 Like

Actually, the second row contains a typo and should be as follows:

.style("font-size", "25px")
.style("fill", "red”);