{"css":"","js":"","html":"<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n </head>\n <body>\n <div class='triangle'></div>\n\n <script>\n var triangle = document.querySelector('.triangle');\n // 补全代码\n var str = '';\n for (let i = 1; i <= 3; i++) {\n for (let j = 0; j < i; j++) {\n str += '*';\n }\n triangle.innerHTML += str + '<br>';\n str = '';\n }\n </script>\n </body>\n</html>","libs":[]}