I'm confused with some Lambda JavaScript classroom precourse work.
austinlingle99 (0)

First off I'd like to say I've not been coding long at all. I've just started learning about a week ago. So i've obviously gone through their HTML and CSS work already. Now I'm on their JavaScript assignment and I'm so confused by it.
It says you don't need to write any code for the exercise. But it wants you to create a variable called difference. and subtract num2 from num1.
So I've tried

difference.num2 - num1;
difference.num2 - num1 =;

and i've tried num2 - num1 = ; which is exactly how it's shown to do it in the lessons.
I've tried the same thing but making the variables a number and everything I try is wrong.
Sorry if this isn't the right place to ask these types of questions I just have no clue what I'm doing wrong or where to go. I've tried everything I can think of and gone through my notes and everything shown in the videos and don't know what I'm doing at all...

You are viewing a single comment. View All
Answered by vedprad1 (815) [earned 5 cycles]
View Answer
austinlingle99 (0)

Also I'm not looking for answers I'm just looking for help pointing me in the right direction. I've been trying everything I can think of for about an hour and it's only confusing me more and more.