proper add button implementation

This commit is contained in:
J-Klinke
2024-06-18 11:43:14 +02:00
parent 1fe7a2ca29
commit d5889341e6
3 changed files with 119 additions and 8 deletions

View File

@@ -7,10 +7,7 @@
<link rel="stylesheet" href="main.css">
</head>
<body>
<svg id="add-btn" width="100" height="100">
<polygon onclick="console.log('ahhhh')" points="0, 0, 0, 100, 100, 0" fill="yellow" />
<text x="25" y="25" >+</text>
</svg>
<div onclick="console.log('add')" id="add-btn"></div>
<main>
<header>
<h1>Welcome to DataDash</h1>