Need help in java script course, functions and returns,


#1

how do i do 7 in interactive websites


#2

Please be more specific- supply code/ link


#3

link is https://www.codecademy.com/courses/javascript-beginner-en-6LzGd/1/2?curriculum_id=506324b3a7dffd00020bf661


#4

link is https://www.codecademy.com/courses/javascript-beginner-en-6LzGd/1/2?curriculum_id=506324b3a7dffd00020bf661
please help me


#5

// Parameter is a number, and we do math with that parameter
var timesTwo = function(number) {
    return number * 2;
};

// Call timesTwo here!
var newNumber = 10
console.log(newNumber);
timesTwo(5);

#6

Thank you very much.


#7

link is https://www.codecademy.com/courses/javascript-beginner-en-6LzGd/1/2?curriculum_id=506324b3a7dffd00020bf661
please help me


#8

@blogplayer81112 is this the same problem as your other post here

also I think this is the outdated course, unless it is a one-off curated course