Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialShima Bahre Abdalla
1,729 Pointshello family, I don't understand the question.
hello family, I don't understand the question. can somebody help me please?
let firstName = prompt( "first Name" );
let lastName =( "last name" );
let role = 'developer';
1 Answer
Armin Kadic
16,242 PointsHi Shima :)
The challenge asks you to "assign" or add your name first name to the firstName variable, and your last name to the lastName variable. So for me it would be var first name = "Armin"; There is no need for a "prompt" that you've added, and also no need for parentheses "( )". The way you wrote it is as if you are asking the user for his first name, but instead, you simply have to write your own name there, without the "prompt" and parentheses "( )".
I hope this helps :)
Shima Bahre Abdalla
1,729 PointsShima Bahre Abdalla
1,729 Pointsyes it helped me so much
Thank you