Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Excercise file 02_02 *not* broken while it should be

未关闭
#13 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
停滞
技术栈
javascript
领域
frontend, web-dev

调研方向

打开 02_02 index.html 文件,检查 script.js 引用相对于 body 元素的位置。将练习的控制台和屏幕行为与视频进行比较,然后验证按照所述方式放置脚本引用时,是否出现预期的错误和空白屏幕。

由索引模型根据 Issue 内容生成。

描述

Hi Morten Rand-Hendriksen (and all other readers of this question), according to this video, I should open index.html of 02_02, get an empty screen with an error in the console. Mine's not empty and there's no error in the console. Must be a good sign then, eh..?

Answer/Solution:
Chris Reid, CIB officer at NAB:
So this one starts off prefixed for some reason (don't worry it got me confused too) In order to follow along with Morten as intended, go into the index.html file, and then cut the line of text that says script src="script.js bit. paste it above the body> <body line This should generate the white error screen.

主要语言
JavaScript
星标
2k
派生
4k
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

LinkedInLearning/javascript-essential-training-2832077 的其他 Issue

查看 LinkedInLearning/javascript-essential-training-2832077 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。