Git <ul> 中没有显示远程仓库

Git remote repo no showing in <ul>

我正在尝试通过他们的 api 列出我的 github 回购协议,但它没有显示在我的页面上,而是使用与它在 JSFiddle[= 上工作的完全相同的代码16=]

调试显示正在调用脚本,但它只是没有加载到 <div>

<div id="repos">
     <ul id="repo_list">
     </ul>
</div>`

这是我的源代码中的标记:

<section id="git-hub">
    <div class="container">
        <div class="box">
            <div class="center">
                <h2>GitHub</h2>
                <p class="lead">Go on! Take a look through my repos!</p>
                <div id="repos">
                    <ul id="repo_list">
                    </ul>
                </div>
                <div id="repo_content"></div>
                <script>
                        $.ajax({
                            type: "GET",
                            url: "https://api.github.com/users/google/repos",
                            dataType: "json",
                            success: function(result) {
                                for( i in result ) {
                                    $("#repo_list").append(
                                            "<li><a href='" + result[i].html_url + "' target='_blank'>" +
                                            result[i].name + "</a></li>"
                                    );
                                    console.log("i: " + i);
                                }
                                console.log(result);
                                $("#repo_count").append("Total Repos: " + result.length);
                            }
                        });
                </script>
            </div><!--/.center-->          
        </div>
    </div>
</section><!--/#pricing-->

有人知道可能是什么原因吗?

您将此 script 标签放在您要加载 jQuery 的位置上方。将此 script 标签放在您要加载 jQuery.

的位置下方