Skip to content

Instantly share code, notes, and snippets.

@Tanu-N-Prabhu
Created June 8, 2021 03:09
Show Gist options
  • Save Tanu-N-Prabhu/1a178c3437c9d89d545872d3f735c499 to your computer and use it in GitHub Desktop.
Save Tanu-N-Prabhu/1a178c3437c9d89d545872d3f735c499 to your computer and use it in GitHub Desktop.
<div class="container">
<br>
<br>
<h2 align = "center">Graph Representation Is More Visually Appealing!</h2>
<div class="form-group">
<br>
<label for="email"><b>Enter the values seperated by a space</b></label>
<input type="text"class="form-control" id="num" value="10 20 30 40 50">
<br>
<button class="btn btn-primary btn-primary" id = "submit" onclick="draw()">Submit</button>
<button class="btn btn-primary btn-primary" id = "clear" onclick="reset()">Clear</button>
<br>
<br>
<canvas id="myCanvas" style="border:1px solid #c3c3c3; width: 50%;"></canvas>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment