01-直角三角形
答案
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<div class='triangle'></div>
<script>
var triangle = document.querySelector('.triangle');
// 补全代码
triangle.innerHTML='*<br>**<br>***<br>'
</script>
</body>
</html>