Pezh commited on
Commit
7f0af9d
·
verified ·
1 Parent(s): 638c604

Update hos.html

Browse files
Files changed (1) hide show
  1. hos.html +4 -1
hos.html CHANGED
@@ -69,7 +69,9 @@
69
  <button onclick="saveData()">ذخیره</button><br><br>
70
  <button onclick="displayGraph()">نمودار تغییرات</button><br>
71
  <canvas id="myChart" width="400" height="200"></canvas>
72
-
 
 
73
  <script>
74
  let data = [];
75
 
@@ -114,6 +116,7 @@ function displayGraph() {
114
  } else {
115
  console.log('No data available for graphing.');
116
  }
 
117
  `
118
  <button onclick="window.location.href='https://pezh-cv.hf.space'">بپرس و یاد بگیر</button>
119
  `
 
69
  <button onclick="saveData()">ذخیره</button><br><br>
70
  <button onclick="displayGraph()">نمودار تغییرات</button><br>
71
  <canvas id="myChart" width="400" height="200"></canvas>
72
+ <div id='di'>
73
+
74
+ </div>
75
  <script>
76
  let data = [];
77
 
 
116
  } else {
117
  console.log('No data available for graphing.');
118
  }
119
+ document.getElementById('di').innerHTML =
120
  `
121
  <button onclick="window.location.href='https://pezh-cv.hf.space'">بپرس و یاد بگیر</button>
122
  `