Small mistake in the lesson code comments?

Tell us what’s happening:

Hi Team, I’m not sure if it is the right place :slight_smile:
In the coding part there is comment suggesting that only part in should be edited:
/* Only change code below this line /
margin:2px;
/
Only change code above this line */
However to solve the task the code in script should be also updated.

Your code so far


<style>
.bar {
  width: 25px;
  height: 100px;
  /* Only change code below this line */
  margin:2px;
  /* Only change code above this line */
  display: inline-block;
  background-color: blue;
}
</style>
<body>
<script>
  const dataset = [12, 31, 22, 17, 25, 18, 29, 14, 9];

  d3.select("body").selectAll("div")
    .data(dataset)
    .enter()
    .append("div")
    .attr("class", "bar")
    .style("height", (d) => (d*10 + "px"))
</script>
</body>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36.

Challenge: Change the Presentation of a Bar Chart

Link to the challenge:

Thank you for helping make FCC better. Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.