Skip to content

Commit f795a03

Browse files
authored
Update tests.js
1 parent 0d5ce0e commit f795a03

File tree

1 file changed

+3
-3
lines changed
  • exercises/12-Relative-Length-EM-REM

1 file changed

+3
-3
lines changed

exercises/12-Relative-Length-EM-REM/tests.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe("All the styles should be applied", ()=>{
1010
const meta = document.querySelector("meta")
1111
const title = document.querySelector('title')
1212
const link = document.querySelector('link')
13-
test("The H2 Tag should have a font-size: 0.8em", ()=>{
13+
test("The <h2> tag should have a font-size: 0.8em", ()=>{
1414
// get computed styles of any element you like
1515
document.querySelector(
1616
"head"
@@ -19,7 +19,7 @@ describe("All the styles should be applied", ()=>{
1919
var styles = window.getComputedStyle(h2Tag);
2020
expect(styles["font-size"]).toBe("0.8em");
2121
});
22-
test("The H3 Tag should haave a font-size: 0.8rem", ()=>{
22+
test("The <h3> tag should have a font-size: 0.8rem", ()=>{
2323
// get computed styles of any element you like
2424
document.querySelector(
2525
"head"
@@ -28,7 +28,7 @@ describe("All the styles should be applied", ()=>{
2828
var styles = window.getComputedStyle(h3Tag);
2929
expect(styles["font-size"]).toBe("0.8rem");
3030
});
31-
test("You should not change the existing head tag elements", ()=>{
31+
test("You should not change the existing <head> tag elements", ()=>{
3232
let head = document.querySelector('head')
3333
expect(head).toBeTruthy()
3434

0 commit comments

Comments
 (0)