简体   繁体   English

我不熟悉编码并尝试使用谷歌 api 创建一个 map。出于某种原因,我的 index.html 出现 5 个错误并且似乎无法修复

[英]I'm new to coding and trying to create a map using googles api. For some reason im getting 5 errors on my index.html and cant seem to fix

here's my code.这是我的代码。 I can see the errors but unsure what to do我可以看到错误,但不确定该怎么做

the errors say that their is not closing tags i might be blind but im pretty sure they all are there错误说他们没有关闭标签我可能是盲人但我很确定他们都在那里

The last script tag on your head tag should be: head 标签上的最后一个脚本标签应该是:

<script src="script.js"></script>

Not:不是:

<script src="script.js"</script>

You're missing '>' on your script tag您的脚本标签上缺少“>”

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我是编码的新手,但我不太确定为什么index.html无法正确加载。 - I'm new to coding, and I'm not too sure why my index.html won't load properly. 我正在尝试创建一个表格,显示来自其他国家/地区 api 的国家/地区的详细信息。我是新手,我被卡住了 - I'm trying to create a table which shows the details of countries from the restcountries api. I'm new to this and I'm stuck 如何使用 JavaScript 在我的 index.html 文件中嵌入 API 调用? - How do I embed an API call in my index.html file using JavaScript? 如何在使用PHP Slim REST Api时提供index.html文件? - How do I serve my index.html file while using PHP Slim REST Api? 我的 api 中的数据不会显示在我的 html 中(我还是编码新手,但这是我的代码) - My data from my api won't display in my html (im still new to coding but here is my code) 我目前正在尝试仅使用 html 和 css 制作一个简单的游戏(可能有一些 java 但几乎没有)而且我似乎无法并排放置 5tables - Im currently trying to make a simple game using html and css only (might have some java but barely any) and I can't seem to put 5tables side by side 我正在尝试创建一个测验应用程序。 我的JS代码有一些错误,我无法点击按钮或go到下一个问题 - I'm trying to create a quiz app. There are some errors in my JS code, I can not click on the buttons or go to the next questions 如何使用 dockerfile 创建 index.html? - How to create index.html using dockerfile? 我正在尝试使用 html 创建一个投资组合网站,但是创建了一些未知空间,我似乎无法理解为什么 - I am trying to create a portfolio website using html, but there is some unknown space created which I cannot seem to understand why 我试图让我的图像在 hover 结束后更改,但由于某种原因,当我 hover 超过其他更改时 - Im trying to have my images change once they've been hover over, but for some reason when I hover over one the other changes
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM