Skip to content

GlitchText CSS Module Contains Invalid Syntax (Bug)Β #6

@Shuvo-code-dev

Description

@Shuvo-code-dev

β—Œ Concept

GlitchText.module.css contains raw JavaScript object syntax
instead of valid CSS. No browser can parse this file,
making the module completely non-functional.

✦ The Solution

Replace the contents of GlitchText.module.css with valid CSS:

.glitchText {
font-size: 2.5rem;
font-weight: 900;
color: white;
font-family: monospace;
letter-spacing: 0.1em;
}

Then update the component to use: className={styles.glitchText}

⚑ Why it matters?

The Code Lab is a learning resource. If developers learn
incorrect CSS patterns from Halqa, it defeats the entire
purpose of the platform.

πŸŒ‘ Alternative Solutions

  • Remove the CSS module entirely and keep the existing inline styles.

πŸ“Œ Visuals & Context

File: web/src/components/modules/codelab/presets/GlitchText.tsx
Invalid file: GlitchText.module.css


Thank you for helping us evolve the circle. πŸͺΆ

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions