Skip to content

Commit e3cc54f

Browse files
happyzebrohattifnatt4r
authored andcommitted
Dina_card_page added
1 parent 26bd4b7 commit e3cc54f

4 files changed

Lines changed: 29 additions & 1 deletion

File tree

.DS_Store

6 KB
Binary file not shown.

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
</div>
5757
</div>
5858

59-
<div class="card">
59+
<div class="card" onclick="openPage('pages/003_dina.html')">
6060
<img class="card__img" src="https://pethelpful.com/.image/w_1920,q_auto:good,c_limit/NDowMDAwMDAwMDAwMTA5OTM4/a-corgi-puppy-running.jpg" alt="corgi image"/>
6161
<div class="card__text">
6262
<div class="card__message">Hello!</div>

pages/003_dina.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
body {
2+
padding: 2rem 3rem;
3+
background-color: lemonchiffon;
4+
}
5+
6+
p{
7+
font-size: 20px;
8+
}
9+
10+
.page_img{
11+
width: 200px;
12+
}

pages/003_dina.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<title>CambridgeDevClass attendant Dina</title>
6+
<link rel="stylesheet" href="003_dina.css">
7+
</head>
8+
<body>
9+
<h1>Welcome to my page</h1>
10+
11+
<p>Hello, my name is Dina</p>
12+
<img class="page_img" src="https://media0.giphy.com/media/v1.Y2lkPTc5MGI3NjExbGI4aHU1YnBmOGw1MHc3d3YwN2ZqdTZ5ZXpjcXN4andncXU0a2w4YyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/KpvcURb06H2fEHcu7M/giphy.gif" alt="gif"/>
13+
<p></p>
14+
<a href="../index.html">Back</a>
15+
</body>
16+
</html>

0 commit comments

Comments
 (0)