+ 2

Help me please!🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺

How do I translate this JS thing into Ruby or HTML? window.onload = function wizard() { person = prompt("Welcome to Hogwarts! Please write your name:", "Great Wizard");

19th Jun 2019, 8:52 PM
PeculiarP
PeculiarP - avatar
4 Answers
+ 2
Did you mean 'convert' by 'translate' ??
20th Jun 2019, 1:24 AM
Ayan Fox
Ayan Fox - avatar
0
If you really want it in html use the script tag
19th Jun 2019, 10:08 PM
Lexfuturorum
Lexfuturorum - avatar
0
Goto this link https:\\www.block factory, java.com JS and ruby are mostly similar
3rd Nov 2019, 12:11 PM
Joshua