diff --git a/index.html b/index.html
index d38f4b9..7f9889b 100644
--- a/index.html
+++ b/index.html
@@ -78,6 +78,20 @@
.del:hover{
opacity: 1;
}
+ .HW{
+ margin-bottom: 15px;
+ }
+ .HW:focus {
+ background-color: #e4f0f5;
+}
+ .save_btn{
+ margin: 15px;
+ padding: 5px;
+ border-radius: 4px;
+ }
+ .save_btn:hover{
+ background-color: yellow;
+ }
@@ -87,15 +101,21 @@
+
+
+
+
+
diff --git a/main.js b/main.js
index 137f9df..d033334 100644
--- a/main.js
+++ b/main.js
@@ -3,9 +3,19 @@ let elem = document.getElementById('qq');
let a_click = false
+function q(){
+ let H = document.getElementById("H").value
+ let W = document.getElementById("W").value
+
+ createTable (elem, H , W)
+}
+q()
function createTable (parent, cols, rows){
-
+ console.log(rows,cols)
+while ( parent.firstChild){
+ parent.firstChild.remove()
+}
document.onmousedown = function(){
a_click = true
}
@@ -16,6 +26,7 @@ document.onmouseup = function(){
let palitra = document.getElementById('palitra');
for ( i=0; i