code refactoring
use absolute paths use quotes in url paths
This commit is contained in:
parent
5d0e5aa653
commit
7e08007ce8
|
@ -4,7 +4,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta charset="utf-8">
|
||||
<title>for you, emma</title>
|
||||
<link rel="stylesheet" href="./style/style.css">
|
||||
<link rel="stylesheet" href="/style/style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -37,7 +37,7 @@
|
|||
<div class="tileEleven tile"></div>
|
||||
<div class="tileTwelve tile"></div>
|
||||
|
||||
<img src="./img/sweets.jpg" alt="a box of chocolate cupcakes">
|
||||
<img src="/img/sweets.jpg" alt="a box of chocolate cupcakes">
|
||||
</div>
|
||||
|
||||
<div class="items">
|
||||
|
@ -51,7 +51,7 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<script src="./script/script.js" defer></script>
|
||||
<script src="/script/script.js" defer></script>
|
||||
<footer>
|
||||
<p>happy valentine's day!</p>
|
||||
</footer>
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
|
||||
@font-face {
|
||||
font-family: alwaysinmyheart;
|
||||
src: url(/site/resources/fonts/alwaysinmyheart.woff2);
|
||||
src: url("/site/resources/fonts/alwaysinmyheart.woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: learning-curve-regular;
|
||||
src: url(/site/resources/fonts/learning-curve-regular.woff2);
|
||||
src: url("/site/resources/fonts/learning-curve-regular.woff2");
|
||||
}
|
||||
|
||||
*, *::before, *::after {
|
||||
|
|
Loading…
Reference in New Issue