ErrorCorrection
Decipat
- Katılım
- 11 Ağustos 2022
- Mesajlar
- 2.429
- Çözümler
- 4
Daha fazla
- Cinsiyet
- Erkek
HTML:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>website</title>
<style type="text/css">
table , tr ,th , td{
border: 1px solid black;
border-collapse: collapse;
}
</style>
</head>
<body>
<button style="margin-bottom:15px ;" id="button" onclick="myfunction()">click me</button>
<table id="mytable">
<tr id="dices">
<th>/</th>
<th>first dice</th>
</tr>
<tr id="example">
<th>User</th>
</tr>
<tr>
<th>computer</th>
</tr>
</table>
<script type="text/javascript">
const button = document.getElementById('button');
</script>
</body>
</html>
Butona tıkladığımda ekte gösterdiğim gibi first Dice'ın yanına second dice adlı bir r bölüm açsın.
(İnsertrow falan denedimde sürekli yeni bir satır açıyor.)