+ 2
<textarea id="text"></textarea> <script> var str = prompt("Enter a sentence"); document.querySelector("#text").value = str; </script> https://code.sololearn.com/W11TDJxY6fx9/?ref=app
16th Aug 2018, 3:23 AM
CalviŐ˛
CalviŐ˛ - avatar
+ 1
Enclosed your initial run code in onload = function() { // start up code } https://code.sololearn.com/W0esomd53ITw/?ref=app
16th Aug 2018, 3:39 AM
CalviŐ˛
CalviŐ˛ - avatar