这是关于代码学校的调试准备工作的一节。我根本不能让按钮工作。我没有太多经验,但我认为我的javascript链接不正确。javascript文件是logic.js,css文件是style.css,我已经确保它们在同一个文件夹中。
<!DOCTYPE html>
<html>
<head>
<title>Boo The Dog</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- Linking CSS -->
<link rel="stylesheet" type="text/css" href="style.css">
<!-- Linking jQuery -->
<script type="text/javascript" src="logic.js" ></script>
</head>
<body>
this is also at the bottom of the code
<script type="text/javascript" src="logic.js"></script>发布于 2019-09-10 19:25:02
在您的代码中,有两个脚本链接。你能提供你的目录结构吗?
https://stackoverflow.com/questions/57838885
复制相似问题