+ 7
msgbox-html
can someone tell me what attribute can be used in html so that when we click on a button (egs: submit).. a msg pops up saying something...(just like in visual studio)
3 Answers
+ 2
#html
<button onclick=popup()>Click Here</button>
#JavaScript
<script>
const popup = () => {
alert('This is a popup');
}
</script>
+ 7
Thanks alott
+ 6
Ig finaallly i would be able to post my first coding lol