javascript-tutorial / javascript-tutorial/en.javascript.info

CSS for 2-ui/1-document/02-dom-nodes/article.md need to be fixed

Open
#2,294 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
25.5k
Forks
4k
PR merge metrics
No merged PRs in 30d

Description

In 2-ui/1-document/02-dom-nodes/article.md

Online:

![Screen Shot 2020-11-18 at 11 46 30 AM](https://user-images.githubusercontent.com/26959437/99481028-38d03580-2994-11eb-9288-cb37b69b52e7.png)

Code:

![Screen Shot 2020-11-18 at 11 47 09 AM](https://user-images.githubusercontent.com/26959437/99481040-3d94e980-2994-11eb-85b9-0b8692df005e.png)

The blank "␣" and "\n" didn't be painted online in the red box. Maybe the corresponding CSS or something needs to be fixed.

---

Online:

![Screen Shot 2020-11-18 at 11 46 41 AM](https://user-images.githubusercontent.com/26959437/99481057-42599d80-2994-11eb-9e05-1c61517aad82.png)

Code:

![Screen Shot 2020-11-18 at 11 47 21 AM](https://user-images.githubusercontent.com/26959437/99481097-57cec780-2994-11eb-9342-caeeef92d773.png)

The blank "␣" and "\n" didn't be painted online in the red box. Maybe the corresponding CSS or something needs to be fixed.

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

Start with 2-ui/1-document/02-dom-nodes/article.md and reproduce the two whitespace-rendering examples shown in the issue. Trace the article's rendered CSS or related styling to determine why the blank markers and newline are missing online, then verify that both red-box examples display as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, markdown
Domain
documentation, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.