DEV Community

LuisTS
LuisTS

Posted on

Hi!

<script>
  alert('Help World!');
</script>

Top comments (3)

Collapse
 
growthfyi profile image
Ankit • Edited
<button onclick="devTo()">Try it</button>

<script>
function devTo() {
  var txt;
  if (confirm("Human? Press Ok")) {
    txt = "Welcome To the community human!"; //OK key pressed
  } else {
    txt = "Bot Bot, go away"; //cancel key pressed
  }
  window.alert(txt);
}
</script>
Collapse
 
terkwood profile image
Felix Terkhorn

Greetings! 👋

Collapse
 
muhimen123 profile image
Muhimen

Help(?) World!
Welcome to the Dev community. 😉