Do not change code above the line what's that mean

<%= @topic_view.topic.title %>
<%= @topic_view.topic.average_rating %> <%= @topic_view.topic.posts.count { |p| !!p.custom_fields['rating'] } %>

Tell us what’s happening:

Your code so far


// Setup
var a = 7,
 b = a;

// Only change code below this line

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/storing-values-with-the-assignment-operator

When you see a comment that states:

// Only change code below this line

That means you should only write or change code below that comment. In your code above, you have changed the code above that line. You need to reset the challenge and only change/write code below that comment.

hi! I try to my code
a=7
b=7
a=b

but say. a should be assigned to b with =.
I don’t understand what I made wrong…
thanks for help

you are assiging b to a
you are not assigning a to b

nothing change if I switch b = a.
sorry if I am stubborn heheh

read again the instructions, if you do more than that you don’t pass

1 Like