Drag the edges to resize the window.

In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!

Learn
Create a Histogram

Building the Words Array

Next, we'll want to turn the user's string into something we can iterate over. A data structure made up of elements all in a line, you say? That sounds like an array!

By calling the .split method on text, we can transform it into an array.

Report a Bug
If you see a bug or any other issue with this page, please report it here.
Code Editor