Test submit doesn’t pass but code is correct

I have a problem with 3D.js exercise, I write the same as my friend writes, for him it works, but for me it doesn’t. please help.
this is the url of the exercise

this is the code
Your code so far


  .bar {

    width: 25px;

    height: 100px;

    margin: 2px;

    display: inline-block;

    background-color: blue;





    const dataset = [12, 31, 22, 17, 25, 18, 29, 14, 9];





      .attr("class", "bar")

      .style("height", (d) => (d * 10 + "px"))



I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

your code passes for me

thank you for your help

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.