How to complete "JavaScript Algorithms and Data Structures"

Tell us what’s happening:
I can’t figure out how to complete “JavaScript Algorithms and Data Structures” #4, can anyone explain it to me?

Your code so far // Setup

var a;
a = 7;
var b;

// Only change code below this line

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

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14092.57.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.85 Safari/537.36

Challenge: Assigning the Value of One Variable to Another

Link to the challenge:

You need to assign b to the variable a. Right now you are assigning it the number seven

ohhhhh okkkkk… im so dumb

Learning a new programming language can be confusing at first — we all were there at some point. Keep up the good work!

ok thx for the motivation!!!

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 (’).

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