I have been watching the youtube videos over and over and for some reason I just cannot get it to work!
I need to first create a prompt for the user to enter their name, then output the length of the string. Next, I need to modify the code to display back the characters in uppercase along with the number of characters.
Last I need to modify the html document to get the names of 20 people from the user. I am supposed to store this in an array named "users" then convert to all uppercase. The out put of this final step is suppose to appear something like:
I have thus far been able to create the prompt and the uppercase output, but I can't manage to get the number of characters as an output.
Below is what I have created so far.
var name=prompt("Please input your first name");
document.write(name + str + toUpperCase)
var length = myString.length;