KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm making a simple game in JavaScript but in the story I need it to say the players name. so what I have so far is: var name = prompt("what is your name?"); console.log("story" name "story); how do I do the second line? or there is another way I could do this. Is it possible to have 2 console.log(); on 1 line in the console?
Tags (comma-separated)
Save Edits
Cancel