I'm working on a pomodoro clock and I want to place the controls of the clock to the right of the clock instead of the current position which is down. Right now the html/css code is placing the controls (add time/restart etc) at the bottom of the clock, and I would like to place it to the right. how can I do that? thanks html
<div class="container
<!-- header title -->
<div class="title primary-text">
<h1>Pomodoro Clock</h1>
</div>
<!-- clock / timer goes here -->
<div class="clock">
<div class="timer">
<h2>Session</h2>
<h1>23:00</h1>
</div>
</div>
<!-- this section for controlling clock -->
<div class="controls">
<div class="setTime">
add time
</div>
<div class="setTime">
add time
</div>
<div class="control">
play/pause
</div>
<div class="control">
reset
</div>
</div>
</div>
css
body {
background-color: #545454;
}
.title {
margin: auto;
text-align: center;
font-size: 32px;
}
h2 {
font-size: 50px;
margin: 0 0 0 0;
}
.timer {
margin: 0 0 0 0;
font-size: 44px;
}
.clock {
margin: auto;
text-align: center;
border: solid black 1px;
width: 500px;
height: 200px;
}
.controls {
margin: auto;
text-align: center;
border: solid black 1px;
width: 100px;
}
<div class="container
inline-block
,float
, orflex-box
styles. What have you already tried?