Ask coding questions

← Back to all posts
##Hey! im on the step 2 of this task and really needing help!
pabloeoliveros (0)

Hey! im on the step 2 of this task and really needing help! I want to throw a console log but i can't do it:

`const firstName = "Carlos";
const lastName = "Stevenson";
const thisYear = 1965;
const birthYear = 1948;

const greeting = "Hello! My name is " + ((firstName ) + (lastName) + "and I am" + (thisYear - birthYear) + "years old.";

console.log(greeting);`

Comments
hotnewtop
Squirrel777 (138)

You forgot to add a ) to the end of the string on line 55 in follow.js! here's a fixed version of your repl

SixBeeps (5062)

Line 55, there's one too many (s. To be specific, there's two (s before firstName when there should be 1. Remove it, and in theory that should work.