close
The Wayback Machine - https://web.archive.org/web/20221001124113/https://github.com/javascript-tutorial/zh.javascript.info/issues/897
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

元素大小和滚动章节 练习题配图错误 #897

Open
touryung opened this issue Apr 9, 2021 · 1 comment
Open

元素大小和滚动章节 练习题配图错误 #897

touryung opened this issue Apr 9, 2021 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@touryung
Copy link

touryung commented Apr 9, 2021

元素大小和滚动章节的第三个任务:将小球置于区域中心 https://zh.javascript.info/task/put-ball-in-center

解决方案中的第二张配图,应该是将小球的左上边缘居于区域中间

具体原因暂时没发现,初步猜测是命名冲突

@MartinsYong
Copy link
Member

MartinsYong commented Apr 11, 2021

看着是加载时序问题,field 没渲染出来,所以获取到的 clientWidth/clientHeight 为 0。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants