Hej, mam totalnie amatorskie pytanie. Nie mam pojecia dlaczego nie moge ustawic diva nr 5 obok prawego diva nr 2
https://gyazo.com/72783aea4bf378083e30d871eb8d8749
<!DOCTYPE HTML>
<html lang="pl">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title> ASD - Portfolio </title>
<meta name="description" content="Stworzę dla Ciebie stronę, która sprosta Twoim wymaganiom" />
<mena name="keywords" content="html,css,js,strony internetowe" />
<link rel="stylesheet" href="style.css"/>
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans|Lato&display=swap" rel="stylesheet">
</head>
<body>
<div id="container">
<div class="rectangle"> </div>
<div id="logo">ASD</div>
<div id="zegar">12:00:00</div>
<div style="clear:both;"></div>
<div class="square"> </div>
<div class="tile1">1</div>
<div class="tile1">1</div>
<div style="clear:both;"></div>
<div class="tile2">2</div>
<div class="tile3">3</div>
<div style="clear:both;"></div>
<div float: left;></div>
<div class="tile4">4</div>
<div class="square"> </div>
<div class="tile5">5</div>
<div style="clear:both;"></div>
<div class="rectangle"> </div>
</div>
</div>
</body>
</html>
body
{
background-color: gray;
color: white;
font-family: 'Lato', sans-serif;
font-size: 20px;
}
#container
{
width: 1000px;
margin-left:auto;
margin-right:auto;
}
.rectangle
{
width: 960px;
margin: 20px;
}
.square
{
width:50%;
float:left;
}
#logo
{
float:left;
font-family: 'Josefin Sans', sans-serif;
font-size: 70px;
width: 600px;
margin-top: 10px;
margin-bottom: 10px;
}
#zegar
{
float:left;
font-family: 'Josefin Sans', sans-serif;
font-size: 70px;
}
.tile1
{
margin:10px;
width: 230px;
height: 142px;
background-color: yellow;
float:left;
}
.tile2
{
margin:10px;
width: 230px;
height: 142px;
background-color: rgb(162, 0, 255);
float:left;
}
.tile3
{
margin:10px;
width: 230px;
height: 142px;
background-color: pink;
float:left;
}
.tile4
{
margin:10px;
width: 480px;
height: 142px;
background-color:orange;
}
.tile5
{
margin:10px;
width: 420px;
height: 244px;
background-color:red;