2020-09-30 22:04:19 +02:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- displays site properly based on user's device -->
|
|
|
|
|
|
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
|
2020-10-01 00:18:42 +02:00
|
|
|
|
<link rel="stylesheet" href="css/reset.css">
|
|
|
|
|
<link rel="stylesheet" href="css/style.css">
|
2020-10-04 01:34:27 +02:00
|
|
|
|
<script src="./js/challenge.js"></script>
|
2020-09-30 22:04:19 +02:00
|
|
|
|
|
|
|
|
|
<title>Frontend Mentor | Article preview component</title>
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
|
2020-10-01 00:18:42 +02:00
|
|
|
|
<div class="container">
|
|
|
|
|
<div class="articlePreview">
|
2020-10-01 15:53:16 +02:00
|
|
|
|
<div class="previewImage">
|
|
|
|
|
<img src="./images/drawers.jpg" alt="Green drawers with a vase and pictures" class="">
|
|
|
|
|
</div>
|
2020-10-01 00:18:42 +02:00
|
|
|
|
<div class="previewBody">
|
|
|
|
|
<div class="articleSummary">
|
|
|
|
|
<h1 class="articleTitle">
|
|
|
|
|
Shift the overall look and feel by adding these wonderful
|
|
|
|
|
touches to furniture in your home
|
|
|
|
|
</h1>
|
|
|
|
|
<p class="articleSell">
|
|
|
|
|
Ever been in a room and felt like something was missing? Perhaps
|
|
|
|
|
it felt slightly bare and uninviting. I’ve got some simple tips
|
|
|
|
|
to help you make any room feel complete.
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
2020-10-04 01:34:27 +02:00
|
|
|
|
<div class="articleFooter">
|
2020-10-01 00:18:42 +02:00
|
|
|
|
<img src="./images/avatar-michelle.jpg" alt="Author Picture" class="authorImage">
|
|
|
|
|
<div class="nameAndDate">
|
|
|
|
|
<p class="authorName">Michelle Appleton</p>
|
|
|
|
|
<p class="articleDate">28 Jun 2020</p>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- look up what to do with this. I know I've seen it. What it there for screenreader, but off the side of the screen -->
|
|
|
|
|
<!-- <section>Share</section> -->
|
2020-10-04 01:34:27 +02:00
|
|
|
|
<div class="articleShareSection">
|
|
|
|
|
<p>SHARE</p>
|
|
|
|
|
<img src="./images/icon-facebook.svg" alt="Facebook Icon" class="articleShareIcon">
|
|
|
|
|
<img src="./images/icon-twitter.svg" alt="Twitter Icon" class="articleShareIcon">
|
|
|
|
|
<img src="./images/icon-pinterest.svg" alt="Pinterest Icon" class="articleShareIcon">
|
|
|
|
|
</div>
|
|
|
|
|
<button class="articleShareButton" onclick="toggleTooltip()" >
|
2020-10-04 11:56:44 +02:00
|
|
|
|
<!-- <img src="./images/icon-share.svg" alt="Share Icon" class=""> -->
|
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="13"><path fill="currentColor" d="M15 6.495L8.766.014V3.88H7.441C3.33 3.88 0 7.039 0 10.936v2.049l.589-.612C2.59 10.294 5.422 9.11 8.39 9.11h.375v3.867L15 6.495z"/></svg>
|
2020-10-04 01:34:27 +02:00
|
|
|
|
<div class="articleShareButtonTooltip">
|
|
|
|
|
<p>SHARE</p>
|
|
|
|
|
<img src="./images/icon-facebook.svg" alt="Facebook Icon" class="articleShareIcon">
|
|
|
|
|
<img src="./images/icon-twitter.svg" alt="Twitter Icon" class="articleShareIcon">
|
|
|
|
|
<img src="./images/icon-pinterest.svg" alt="Pinterest Icon" class="articleShareIcon">
|
|
|
|
|
</div>
|
|
|
|
|
</button>
|
2020-10-01 00:18:42 +02:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2020-09-30 22:04:19 +02:00
|
|
|
|
|
2020-10-04 01:57:50 +02:00
|
|
|
|
<div class="attribution">
|
2020-09-30 22:04:19 +02:00
|
|
|
|
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
|
2020-10-01 00:18:42 +02:00
|
|
|
|
Coded by <a href="emailto:work@tarasis.net">Robert McGovern</a>.
|
2020-10-04 01:57:50 +02:00
|
|
|
|
</div>
|
2020-09-30 22:04:19 +02:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|