Welcome to the Treehouse Community
Looking to learn something new?
Code Challenge: Methods
I´m having some trouble with the last task of the challenge:
"Update the variable of 'quickLower' on about line 23, to the lowercased version of the string 'quick'."
Here´s my answer:
<script> var quick = "The quick brown fox jumps over the lazy dog";
var quickLength = quick .length; var indexOfBrown = quick .indexOf('brown'); var tenthCharacter = quick .charAt(9); var wordBrown = quick .substr(10,5); var quickUpper = quick .toUpperCase(); var quickLower = quick .toLowCase(); </script>
Hope someone could help, Ricardo.