Update the Height of an Element Dynamically - Help

Tell us what’s happening:
I got stuck with this challenge. I completed the instructions but I cannot pass the tests.

Your code so far


<style>
  .bar {
    width: 25px;
    height: 100px;
    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")
      // Add your code below this line
      .style("height", (d) => d + "px")
      
      
      // Add your code above this line
  </script>
</body>

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/data-visualization/data-visualization-with-d3/update-the-height-of-an-element-dynamically

I am using Google Chrome right now, this won’t be it.

Same happened to me. I was using Microsoft Edge Version 77.0.189.3 (Official build) dev (64-bit).
I tried the same code en Mozilla Firefox and it worked