popcodeorg / popcodeorg/popcode
Visually connect tags, selectors, and elements on the page
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 191
- 派生
- 143
- 平均合并
- 4 天 11 小时
- 30 天内合并 PR
- 5
描述
In order to aid students’ understanding of the relationship between different bits of the code, it would be very cool to visually connect selectors to tags, and vice versa. E.g., if I place the cursor within a selector in the CSS code, we could subtly highlight (maybe with an outline) the tag(s) in the HTML that correspond to it. Similar thing with jQuery selectors (this is more of a bonus feature though).
As a corollary, placing the cursor in a tag should (subtly!) highlight the element on the page corresponding to that tag; placing the cursor in a CSS selector should highlight all elements on the page matching that selector.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
该 issue 未指出文件、测试或入口点。首先定位 HTML/CSS 编辑器和页面预览集成,然后追踪光标选择和 DOM 元素的表示方式。完成的标准是:选择器和标签能够在两个方向上以可见方式高亮其对应的预览元素,并将 jQuery 选择器作为可选扩展处理。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- css, html, javascript, jquery
- 领域
- frontend, web-dev
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100