<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
td {
text-align: center;
}
</style>
</head>
<body>
<h3>表格1</h3>
<table border="1" width="500" height="100">
<tr>
<td>姓名</td>
<td>年龄</td>
<td>成绩</td>
</tr>
<tr>
<td>李小明</td>
<td>19</td>
<td>70</td>
</tr>
<tr>
<td>黄琪</td>
<td>19</td>
<td>90</td>
</tr>
</table>
<p><button>filter</button></p>
<h3>表格2</h3>
<table border="1" width="500" height="100">
<tr>
<td>姓名</td>
<td>年龄</td>
<td>成绩</td>
</tr>
</table>
<script>
var info = [{ name: '夏明', age: 20, score: 91 }, { name: '张强', age: 19, score: 96 }, { name: '王权', age: 21, score: 76 }]
// 题目要求:1.将info数据追加到表格1中
// 2.单击filter,将表格1成绩大于90的数据渲染到表格2中
document.addEventListener("DOMContentLoaded",function(){
var tablel=document.getElementById("tablel");
info.forEachfunction(item){
}
})
var filterbutton = document.querySelector()
</script>
</body>
</html>