
Codecademy has been around quite a lot longer than Dash, and is often adding. I have tried Math.abs() and multiplying the newAge by -1 and I can't seem to get it to change to a positive number. If youre curious about HTML, CSS, and JavaScript, or think that you might. The problem I am having is getting the newAge to be a positive number so I can pass it as a positive onto the string.

If the year is in the past but not before the person was born, you should return a string in the following format: 'The year was years before you were born'

A method of an object is called via the following syntax: js objectName. If the year is before they were born, you should return a string in the following format: In JavaScript methods are object properties containing a function definition. The stopping condition determines when to stop looping. If the year is in the future, you should return a string in the following format: The initialization defines where to begin the loop by declaring (or referencing) the iterator variable. Write a function, howOld(), that has two number parameters, age and year, and returns how old someone who is currently that age was (or will be) during that year. I am having a bit of problem with this code.

Taking some time to try and learn Javascript to become a better developer.
