Skip to content

Instantly share code, notes, and snippets.

@kkworden
Last active December 12, 2018 22:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kkworden/8e42e7cec71b60fe59ffb1c6e4d272cc to your computer and use it in GitHub Desktop.
Save kkworden/8e42e7cec71b60fe59ffb1c6e4d272cc to your computer and use it in GitHub Desktop.
Basic HTML page for the GraphQL chat app
<!DOCTYPE html>
<html>
<b>Nickname:</b>
<input id="nickname" type="text" size="20" />
<b>Message:</b>
<input id="message" type="text" size="75" />
<button id="send">Send message</button>
<div id="messages"></div>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
<script>
// Our code here
</script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment