Skip to content

Commit 3367d50

Browse files
Merge pull request 4GeeksAcademy#70 from dsilva06/01.3-style
01.3 style
2 parents 026191a + 41e04ed commit 3367d50

File tree

6 files changed

+18
-22
lines changed

6 files changed

+18
-22
lines changed

exercises/01.3-Your-Second-Style/index.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
<head>
44
<style>
55
/* Your code here */
6-
body {
7-
background-color: blue;
8-
}
96
</style>
107
</head>
118
<body>

exercises/10-Your-Own-Font/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width" />
6-
<link rel="preconnect" href="https://fonts.googleapis.com" />
7-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
86
<!-- Add your code below this line -->
97

108
<link rel="stylesheet" type="text/css" href="./styles.css" />
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.myTitle {
22
/*your code here*/
3-
font-family: 'Roboto'; /*Varies depending on the font you chose*/
3+
font-family: "Roboto"; /*Varies depending on the font you chose*/
44
}
Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
<!DOCTYPE html>
22
<html>
3-
<head>
4-
<meta charset="utf-8" />
5-
<meta name="viewport" content="width=device-width" />
6-
<!--your code here -->
7-
<link
8-
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Source+Code+Pro:wght@300;400;500;600;700;800&display=swap"
9-
rel="stylesheet"> <!--Varies depending on the font you chose-->
10-
<link rel="stylesheet" type="text/css" href="./styles.css" />
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width" />
6+
<!--your code here -->
7+
<link
8+
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Source+Code+Pro:wght@300;400;500;600;700;800&display=swap"
9+
rel="stylesheet"
10+
/>
11+
<!--Varies depending on the font you chose-->
12+
<link rel="stylesheet" type="text/css" href="./styles.css" />
1113

12-
<title>10 Your Own Font</title>
13-
</head>
14-
<body>
15-
<h1 class="myTitle">My unique font</h1>
16-
</body>
17-
</html>
14+
<title>10 Your Own Font</title>
15+
</head>
16+
<body>
17+
<h1 class="myTitle">My unique font</h1>
18+
</body>
19+
</html>

exercises/10-Your-Own-Font/styles.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
.myTitle {
22
/* Add your code below this line */
3-
43
}

exercises/10-Your-Own-Font/tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe("All the styles should be applied", ()=>{
3333
});
3434
test("The link should be included in the head tag", ()=>{
3535
// let headContent=document.getElementsByTagName("*")
36-
expect(link.length).toBe(2);
36+
expect(link.length).toBeGreaterThanOrEqual(2);
3737
});
3838

3939

0 commit comments

Comments
 (0)