Skip to content

Commit

Permalink
Pending changes exported from your codespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Lewise55 committed Jan 22, 2025
1 parent 831fe16 commit b23d7ff
Show file tree
Hide file tree
Showing 7 changed files with 189 additions and 1 deletion.
1 change: 1 addition & 0 deletions .learn/resets/03-add-first-html/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hello!! world
11 changes: 11 additions & 0 deletions .learn/resets/08-adding-styles/index.html
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>
36 changes: 36 additions & 0 deletions .learn/resets/14-goodbye/index.html
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>
48 changes: 48 additions & 0 deletions .learn/resets/14-goodbye/styles.css
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;
}
1 change: 1 addition & 0 deletions .learn/telemetry.json

Large diffs are not rendered by default.

37 changes: 36 additions & 1 deletion index.html
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>
56 changes: 56 additions & 0 deletions styles.css
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;
}

0 comments on commit b23d7ff

Please sign in to comment.