Skip to content

01.3 style #70

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions exercises/01.3-Your-Second-Style/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
<head>
<style>
/* Your code here */
body {
background-color: blue;
}
</style>
</head>
<body>
Expand Down
2 changes: 0 additions & 2 deletions exercises/10-Your-Own-Font/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<!-- Add your code below this line -->

<link rel="stylesheet" type="text/css" href="./styles.css" />
Expand Down
2 changes: 1 addition & 1 deletion exercises/10-Your-Own-Font/solution.hide.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.myTitle {
/*your code here*/
font-family: 'Roboto'; /*Varies depending on the font you chose*/
font-family: "Roboto"; /*Varies depending on the font you chose*/
}
30 changes: 16 additions & 14 deletions exercises/10-Your-Own-Font/solution.hide.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<!--your code here -->
<link
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"
rel="stylesheet"> <!--Varies depending on the font you chose-->
<link rel="stylesheet" type="text/css" href="./styles.css" />
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<!--your code here -->
<link
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"
rel="stylesheet"
/>
<!--Varies depending on the font you chose-->
<link rel="stylesheet" type="text/css" href="./styles.css" />

<title>10 Your Own Font</title>
</head>
<body>
<h1 class="myTitle">My unique font</h1>
</body>
</html>
<title>10 Your Own Font</title>
</head>
<body>
<h1 class="myTitle">My unique font</h1>
</body>
</html>
1 change: 0 additions & 1 deletion exercises/10-Your-Own-Font/styles.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.myTitle {
/* Add your code below this line */

}
2 changes: 1 addition & 1 deletion exercises/10-Your-Own-Font/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe("All the styles should be applied", ()=>{
});
test("The link should be included in the head tag", ()=>{
// let headContent=document.getElementsByTagName("*")
expect(link.length).toBe(2);
expect(link.length).toBeGreaterThanOrEqual(2);
});


Expand Down