javascript-tutorial / javascript-tutorial/zh.javascript.info

修改dom那一节,下面有一题,答案错误

Open
#1,264 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
10.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Image

Image
箭头所指的let ul应该改成var ul,或者把ul放到最上面,否则会报错,页面也没有正常展示。而且原版英文文档已经修复这个问题

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Find the DOM section and the exercise answer identified by the screenshots, then compare it with the corrected English documentation. Update the answer so the ul declaration no longer causes an error, using the reported var change or moving ul to the top, and verify that the page displays normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.