table and dom test
This commit is contained in:
38
index.html
38
index.html
@ -5,24 +5,30 @@
|
||||
<link rel="stylesheet" href ="style.css">
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="viewport" content = "width=device.width, initial-scale=1.0"/>
|
||||
<script src="main.js"></script>
|
||||
<script src="main.js" defer></script>
|
||||
<title>javascript test</title>
|
||||
</head>
|
||||
<body>
|
||||
<p class="center">webside test mit node backend</p>
|
||||
<button class="center" onclick="press()">Drück mich</button>
|
||||
<button class="center" onclick="redBg()">hintergrund rot(dom)</button>
|
||||
<table>
|
||||
<tr>
|
||||
<th scope="col">test1col</th>
|
||||
<th scope="col">test2col</th>
|
||||
<th scope="col">test3col</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">testrow</th>
|
||||
<td>7</td>
|
||||
<td>bla</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="head-col">
|
||||
<p class="center">webside test mit node backend</p>
|
||||
</div>
|
||||
<button class="center" onclick="press()">Drück mich</button>
|
||||
<button class="center" onclick="redBg()">hintergrund rot(dom)</button>
|
||||
<div class="adding">
|
||||
<input id="inputText" type="text">
|
||||
<button id="addButton">hinzufügen</button>
|
||||
</div>
|
||||
<div class="inputTable">
|
||||
<table id="contentTable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">id</th>
|
||||
<th scope="col">text</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user