我正在使用 sublime 并尝试练习构建网站。这是我试图连接的 HTML 和 JS,请告诉我我做错了什么,因为当我在 Chrome 中打开 index.html 时没有出现警报。
<!DOCTYPE html>
<head>
<link href='http://fonts.googleapis.com/css?family=Quicksand:300' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="styles.css">
<script type="text/javascript" src="script.js"></script>
</head>
$(document).ready(function(){
alert("Hello World");
});
谢谢!