Use Bracket Notation to Find the First Character in a String, freeCodeCamp Basic JavaScript

Lesson Summary

In this challenge we learn how to get a specific character in a string by specifying the index where it is at. This is done with bracket notation, for exampe if we have "var myName = "Jose" " and we wanted to get the first character(J) we could save it in a new variable like this "var firstLetterOfFirstName = myName[0]"

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required