首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >这些按钮不会更改文本颜色或图像大小。我想我的javascript链接不正确?

这些按钮不会更改文本颜色或图像大小。我想我的javascript链接不正确?
EN

Stack Overflow用户
提问于 2019-09-08 11:00:50
回答 1查看 53关注 0票数 0

这是关于代码学校的调试准备工作的一节。我根本不能让按钮工作。我没有太多经验,但我认为我的javascript链接不正确。javascript文件是logic.js,css文件是style.css,我已经确保它们在同一个文件夹中。

代码语言:javascript
复制
<!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>
EN

回答 1

Stack Overflow用户

发布于 2019-09-10 19:25:02

在您的代码中,有两个脚本链接。你能提供你的目录结构吗?

票数 -1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/57838885

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档