Help I need help!

Tell us what’s happening:
alright I keep doing what there say ,like var a=7
var b=7.but it is still worng

Your code so far


var a=7;
var b=7;
var a=b
var b = 2;

// Only change code below this line

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 6.0.1; SM-G532F Build/MMB29T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Mobile Safari/537.36.

Challenge: Storing Values with the Assignment Operator

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

  1. You ignored the instruction to “Only change code below this line”.
  2. The var keyword should only be used when a variable is first created, not every time it is assigned (as shown in the example).

hey @shark don’t change the content on the lines from 1-5, only change on line 6 and below.

// Setup

var a;

var b = 2;

// Only change code below this line
a =  ??
b =  ??

your final code should be something like that.

1 Like