popcodeorg / popcodeorg/popcode

Unuseful error message when missing opening curly followed by whitespace

Open
#844 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
191
Forks
143
Avg merge
4d 11h
Merged PRs (30d)
5

Description

E.g.:

p
  display: block;
  

Generates:

On line 2:
Start a block using { after your selector. Try: {

This does the right thing if there isn’t the last line of whitespace.

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 by reproducing the issue in the editor with the CSS snippet shown, including the trailing whitespace after the declaration. Trace the missing-opening-curly error handling and compare it with the same input without the final whitespace. Done means the trailing-whitespace case produces a useful, consistent message without changing the existing behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.