freeCodeCamp / freeCodeCamp/mobile

CSS code within the `<style>` block not having syntax highlighting

Open
#1,580 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
581
Forks
197
Avg merge
9d 11h
Merged PRs (30d)
1

Description

## Description

I found that CSS code inside the `` block isn't getting syntax highlighting. This issue can be seen in both coding challenges and review / lecture transcripts.

- Coding challenge: FSD -> Basic CSS -> Design a Cafe Menu -> Step 12
<details>
<summary>Scrernshot</summary>

<img width="400" alt="Image" src="https://github.com/user-attachments/assets/d5042b88-0475-453d-9764-792de837f0c2" />
</details>
- Lecture transcript: FSD -> Basic CSS -> What is CSS -> How Do Width and Height Work?
<details>
<summary>Scrernshot</summary>

<img width="397" alt="Image" src="https://github.com/user-attachments/assets/cc974d6f-522c-40f5-bc78-4c2f5b0b0d69" />

</details>

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.