Skip to content

Commit fdaa2df

Browse files
committed
changed colors color requirements to orange and dark orange
1 parent cb10a77 commit fdaa2df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/13-Anchor-Like-Button/tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe("All the styles should be applied", function () {
5454
).innerHTML=`<style>${css.toString()}</style>`;
5555
let divTag=document.querySelector(".orange-btn");
5656
let classTagStyles=window.getComputedStyle(divTag);
57-
expect(classTagStyles["background"]).toBe("rgb(255, 153, 51)");
57+
expect(classTagStyles["background"]).toBe("orange");
5858
});
5959
it("the underline should to be removed", function () {
6060
document.querySelector(
@@ -79,7 +79,7 @@ describe("All the styles should be applied", function () {
7979
}
8080
}
8181

82-
expect(orangeHoverSelector).toBe("#cc7a00");
82+
expect(orangeHoverSelector).toBe("darkorange");
8383
});
8484

8585
it("You should be careful with the specifity", function () {

0 commit comments

Comments
 (0)