This forum is now read-only. Please use our new forums! Go to forums
25/28
Why is this not working?
// Declare a variable on line 3 called // myCountry and give it a string value. var myCountry = “Sweden”;
// Use console.log to print out the length of the variable myCountry. console.log(myCountry.length);
// Use console.log to print out the first three letters of myCountry. console.log(myCountry.substring(0,3));
Answer 5421c68a631fe961f600449c
Answer 54235716282ae3a8cd00064a
0 votes
put a number instead of
(myCountry.length);
1 comments
Arcaydia_54245861548c35c439003bdd_deleted over 9 years
THANK YOU
Answer 54a9797a86f5529629007953
0 votes
worked on mine, and i was using chrome
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
1 comments
well, it worked for me