From 8f52ad2eba51c7aebb8497f7ece6c0bc8233b6b8 Mon Sep 17 00:00:00 2001 From: Abhisek Pattnaik Date: Fri, 25 Dec 2015 15:57:42 +0530 Subject: [PATCH] Find Length of a String --- .../basic-javascript.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/seed/challenges/01-front-end-development-certification/basic-javascript.json b/seed/challenges/01-front-end-development-certification/basic-javascript.json index 43171e3dcc..f396987823 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json @@ -1106,10 +1106,11 @@ }, { "id": "bd7123c9c448eddfaeb5bdef", - "title": "Check the Length Property of a String Variable", + "title": "Find Length of a String", "description": [ - "Data structures have properties. For example, strings have a property called .length that will tell you how many characters are in the string.", - "For example, if we created a variable var firstName = \"Charles\", we could find out how long the string \"Charles\" is by using the firstName.length property.", + "You can find the length of a String value by writing .length after the string variable or string literal.", + "\"Alan Peter\".length; // 10", + "For example, if we created a variable var firstName = \"Charles\", we could find out how long the string \"Charles\" is by using the firstName.length property.", "

Instructions

", "Use the .length property to count the number of characters in the lastName variable and assign it to lastNameLength." ],