diff --git a/curriculum/challenges/english/25-front-end-development/lab-house-painting/66d6a7a3e1aa411e94bf2346.md b/curriculum/challenges/english/25-front-end-development/lab-house-painting/66d6a7a3e1aa411e94bf2346.md index dd99827aa96..2eefab9b1a1 100644 --- a/curriculum/challenges/english/25-front-end-development/lab-house-painting/66d6a7a3e1aa411e94bf2346.md +++ b/curriculum/challenges/english/25-front-end-development/lab-house-painting/66d6a7a3e1aa411e94bf2346.md @@ -292,7 +292,7 @@ Your `#chimney` should have a `top` value that puts it at the top of your `#hous ```js const chimney = getComputedStyle(document.querySelector("#chimney")); -assert.equal(Number(chimney?.getPropertyValue("top").replace("px", "")), - Number(chimney?.getPropertyValue("height").replace("px", ""))); +assert.approximately(parseFloat(chimney?.getPropertyValue("top")), - parseFloat(chimney?.getPropertyValue("height")), 2); ``` Your `#chimney` should have a `z-index` that puts it behind the house.