im trying to put my h1 and my fake login on the same line, but opposite sides of the screen
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/beta.css" rel="stylesheet" type="text/css" />
<title>Beta Test!</title>
</head>
<body>
<div class="header">
<header class="inline-b">
<h1>Myspace</h1>
<div class="Log-in">
<form id="Log-in">
<div><input type="email" name="email" id="email" placeholder="Email" required /></div>
<div><input type="password" name="password" id="password" placeholder="Password" required /> </div>
<input type="button" value="Log in"> <input type="button" value="Create Account">
</form>
</div>
</header>
<hr/>
</div>
<main>
<h1>Hello World!</h1>
</main>
<footer>
</footer>
</body>
</html>
body{
font-family: Comic Sans MS
}
.Log-in{
text-align: right;
margin-right: 10px;
}
I tried to put a display: in-line, display: inline-box in my .Log-in and in my .header class