@@ -10,7 +10,7 @@ describe("All the styles should be applied", ()=>{
10
10
const meta = document . querySelector ( "meta" )
11
11
const title = document . querySelector ( 'title' )
12
12
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" , ( ) => {
14
14
// get computed styles of any element you like
15
15
document . querySelector (
16
16
"head"
@@ -19,7 +19,7 @@ describe("All the styles should be applied", ()=>{
19
19
var styles = window . getComputedStyle ( h2Tag ) ;
20
20
expect ( styles [ "font-size" ] ) . toBe ( "0.8em" ) ;
21
21
} ) ;
22
- test ( "The H3 Tag should haave a font-size: 0.8rem" , ( ) => {
22
+ test ( "The <h3> tag should have a font-size: 0.8rem" , ( ) => {
23
23
// get computed styles of any element you like
24
24
document . querySelector (
25
25
"head"
@@ -28,7 +28,7 @@ describe("All the styles should be applied", ()=>{
28
28
var styles = window . getComputedStyle ( h3Tag ) ;
29
29
expect ( styles [ "font-size" ] ) . toBe ( "0.8rem" ) ;
30
30
} ) ;
31
- test ( "You should not change the existing head tag elements" , ( ) => {
31
+ test ( "You should not change the existing < head> tag elements" , ( ) => {
32
32
let head = document . querySelector ( 'head' )
33
33
expect ( head ) . toBeTruthy ( )
34
34
0 commit comments