How to make answers for a prompt


#1

its been a while since i’ve coded and i cant figure out how to make answers for a prompt


#2

So a prompt is a method whose value is your input, here it is in action

https://www.w3schools.com/js/tryit.asp?filename=tryjs_prompt

but I advise you to read on it more and check out the examples on MDN here


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.