-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pending changes exported from your codespace
- Loading branch information
Showing
7 changed files
with
189 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
hello!! world |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Document</title> | ||
</head> | ||
<body> | ||
<div class="postcard">Hello</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Document</title> | ||
<link rel="preconnect" href="https://fonts.googleapis.com" /> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | ||
<link href="https://fonts.googleapis.com/css2?family=Bona+Nova+SC:ital,wght@0,400;0,700;1,400&family=Macondo&display=swap" rel="stylesheet" /> | ||
<link rel="stylesheet" href="styles.css" /> | ||
</head> | ||
<body> | ||
<div class="postcard"> | ||
<div class="postcard-header"> | ||
<h1>My Postcard</h1> | ||
<img | ||
src="https://raw.githubusercontent.com/breatheco-de/exercise-postcard/e63a7916530cc850bd92aa1c2e19191837fb5c80/.learn/assets/4geeks.png" | ||
/> | ||
</div> | ||
<div class="postcard-body"> | ||
<div class="body-left"> | ||
<p>Look how awesome! This is a postcard that I created using HTML5 and CSS3 during my 4Geeks Academy Course!</p> | ||
<p>This is so cool, can't wait to start doing more stuff!</p> | ||
</div> | ||
<div class="body-right"> | ||
<input type="text" placeholder="Some name" /> | ||
<input tyoe="text" placeholder="Some email" /> | ||
<input type="text" placeholder="Some comment" /> | ||
</div> | ||
</div> | ||
<div class="postcard-footer"> | ||
<button>Send My Postcard</button> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
body { | ||
background: black; | ||
font-family: "Bona Nova SC", serif; | ||
font-size: 13px; | ||
} | ||
* { | ||
border: 1px dashed red; | ||
min-height: 10px; | ||
} | ||
.postcard { | ||
background: white; | ||
width: 400px; | ||
height: 300px; | ||
margin: auto; | ||
} | ||
.postcard-header { | ||
display: flex; | ||
padding: 10px; | ||
} | ||
.postcard-header img { | ||
width: 50px; | ||
height: 50px; | ||
} | ||
.postcard-header h1 { | ||
width: 100%; | ||
margin: 0; | ||
} | ||
.postcard-body { | ||
display: flex; | ||
} | ||
.body-left p:first-child { | ||
margin-top: 0; | ||
} | ||
.body-left, | ||
.body-right { | ||
padding: 10px; | ||
} | ||
input { | ||
border: none; | ||
border-bottom: 1px grey solid; | ||
} | ||
.postcard-footer { | ||
text-align: center; | ||
} | ||
button { | ||
background-color: lightgray; | ||
padding: 5px 10px; | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,36 @@ | ||
hello!! world | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Document</title> | ||
<link rel="preconnect" href="https://fonts.googleapis.com" /> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | ||
<link href="https://fonts.googleapis.com/css2?family=Bona+Nova+SC:ital,wght@0,400;0,700;1,400&family=Macondo&display=swap" rel="stylesheet" /> | ||
<link rel="stylesheet" href="styles.css" /> | ||
</head> | ||
<body> | ||
<div class="postcard"> | ||
<div class="postcard-header"> | ||
<h1>My Postcard</h1> | ||
<img | ||
src="https://raw.githubusercontent.com/breatheco-de/exercise-postcard/e63a7916530cc850bd92aa1c2e19191837fb5c80/.learn/assets/4geeks.png" | ||
/> | ||
</div> | ||
<div class="postcard-body"> | ||
<div class="body-left"> | ||
<p>Look how awesome! This is a postcard that I created using HTML5 and CSS3 during my 4Geeks Academy Course!</p> | ||
<p>This is so cool, can't wait to start doing more stuff!</p> | ||
</div> | ||
<div class="body-right"> | ||
<input type="text" placeholder="Some name" /> | ||
<input tyoe="text" placeholder="Some email" /> | ||
<input type="text" placeholder="Some comment" /> | ||
</div> | ||
</div> | ||
<div class="postcard-footer"> | ||
<button>Send My Postcard</button> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
body { | ||
background: black; | ||
font-family: "Bona Nova SC", serif; | ||
font-size: 13px; | ||
} | ||
* { | ||
border: 1px dashed red; | ||
min-height: 10px; | ||
} | ||
.postcard { | ||
background: white; | ||
width: 400px; | ||
height: 300px; | ||
margin: auto; | ||
} | ||
|
||
.postcard-header { | ||
display: flex; | ||
padding: 10px; | ||
} | ||
.postcard-header img { | ||
width: 50px; | ||
height: 50px; | ||
} | ||
.postcard-header h1 { | ||
width: 100%; | ||
margin: 0; | ||
} | ||
.postcard-body { | ||
display: flex; | ||
} | ||
.body-left p:first-child { | ||
margin-top: 0; | ||
} | ||
.body-left, | ||
.body-right { | ||
padding: 10px; | ||
} | ||
input { | ||
border: none; | ||
border-bottom: 1px grey solid; | ||
} | ||
.postcard-footer { | ||
text-align: center; | ||
} | ||
button { | ||
background-color: lightgray; | ||
padding: 5px 10px; | ||
} | ||
button:hover { | ||
cursor: pointer; | ||
box-shadow: -2px -2px #294461; | ||
} | ||
button:active { | ||
box-shadow: 2px 2px #294461; | ||
} |