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...
First of all, you have come to the right place to ask questions.
Second, you should check w3schools.com, because they have good js references.
Anyways, here are some tips to help you:
1. Remember that you need to start with
var before assigning anything.
2. Remember that you assign the value on the right side of the equal sign to the variable on the left.
If you are still confused on what the answer is, just reply to this post, and I will show the answer.
If this answers your question, please check the checkmark on the left side of this message. Thanks ans Good Luck!
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.