Use three prompt boxes to ask the user for three different words and then place them in an array. Use an alert box to display the array
Advertisements So, I’m new to JS and currently taking courses. My instructor listed one solution, and the solution I came up with in my opinion is more ideal…I used push() method which I’d think is better. And I used Template literal inside my alert method to prevent the need to concat the string and variable….… Read More Use three prompt boxes to ask the user for three different words and then place them in an array. Use an alert box to display the array