freeCodeCamp / freeCodeCamp/freeCodeCamp

Replace regex-based test cases in Debug a Random Background Color Changer Lab

Open
#69,966 1 comment 0 reactions 1 assignee Claimed by @tem-ctrl View on GitHub
Naomi's Sprints
Dominant language
TypeScript
Stars
455k
Forks
46.2k
Avg merge
1d 17h
Merged PRs (30d)
215

Description

This ticket is part of Naomi's sprint initiatives. See the umbrella ticket #68417 for context on what this involves.

**Interested in contributing?**

Join the freeCodeCamp contributor Discord at **https://chat.freecodecamp.org** and let Naomi know which course you would like to work on. Please do not work on a course someone has already claimed.

---

The test checking that `body` is initialized with `document.querySelector("body")` is a candidate for replacement with an AST check of the variable initializer.

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.