I'm feeling a bit lost here and I've been doing my best to find a solution online, but no luck so far.
What I need help with is getting my header element and unordered list to appear on the same line without losing their respective margins.
h3 {
text-align: left;
margin: 40px 0px 0px 40px;
}
ul {
text-align: right;
}
ul li {
list-style: none;
display: inline;
margin: 0px 20px 0px 0px;
}
<body>
<h3 id="header"> Darius Spady </h3>
<ul>
<li> About </li>
<li> Projects </li>
<li> Contact </li>
</ul>
</body>
Any assistance would be greatly appreciated! Thank you!