P
Paul Olynek• 330
@ePaulo
Posted
Three suggestions:
- Place your CSS code in a separate file and link to it from your HTML file <head> block, eg.
<link rel="stylesheet" href="./assets/css/styles.css" />
. - Use "class", instead of "id", when identifying either a specific HTML element or group of elements. Then use "id" to further identify a specific element if necessary. Also try using more descriptive names so it's a bit easier to read your code. For example, I used
<p class="publish-date">Published 21 Dec 2023</p>
while you used<span id="pub">Published 21 Dec 2023</span>
. - Link to the design font, in this case "Figtree", using Google Fonts, eg.
<link href="https://fonts.googleapis.com/css2?family=Figtree:[email protected]&display=swap" rel="stylesheet"/>
.
Marked as helpful
0
arun81302• 60
@arun81302
Posted
Thank you for correcting me next time i will take care of these things next time @ePaulo
0