from the examples I’ve read my code looks ok but I cant get the interpreter to move past your li is 16x please make it 16px.
any ideas? thanks
<!DOCTYPE html>
<html>
<head>
<title>Loving the font changes</title>
</head>
<body>
<h1 style="font-family: Arial">Big title</h1>
<ol>
<h1 style="font-size:16px; font-family: Arial">
<li>This item is big Arial.</li>
<h1 style="font-family: Verdana; font-size:12px">
<li>This item is medium Verdana.</li>
<h1 style="font-family: Impact; font-size:10px">
<li>This item is small Impact.</li>
</ol>
</body>
</html>
Why do you have your li
wrapped in h1
tag ?
remove the h1 atgs
the style attribute is an attribute you can add to many opening tags, before your ordered list it is at a h1 tag, but inside the list you can just add the style attribute to the li
opening tag
These are all interesting answers but I don’t think that they explain the error message. I am running into the same issue.
<li style="font-size:16px; font-family: Arial">
Style your <li>
not your <h1>
tags
make sense, these explanations are specific for the learners case. You can create a new topic with your code + error message so we can write a solution for your problem
Thank you stetim94 and toddl for your insight and assistance.