Skip to content

Instantly share code, notes, and snippets.

@smpnjn
Created May 22, 2021 18:24
Show Gist options
  • Save smpnjn/64a45e8528b3207703fda9275fb1d05f to your computer and use it in GitHub Desktop.
Save smpnjn/64a45e8528b3207703fda9275fb1d05f to your computer and use it in GitHub Desktop.
<script src="local.js"></script>
<p>Welcome to websockets. Click here to start receiving messages.</p>
<button id="websocket-button">Click me</button>
<div id="websocket-returns"></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment