I am facing an issue with two divs that are supposed to be 368px x 228px and sit next to each other. Despite my attempts to apply media queries and run tests, I am unable to resolve the issue. Can someone guide me on how to fix this?
Below is my code:
<style type="text/css">
.block-content-right {
background-color:#e0e620;
flex:1;
}
@media (max-width: 600px) {
.field__item {
width: 100%;
}
}
@media (min-width: 400px) {
.field__item {
width: 100%;
}
}
</style>
<div class="block-content-right">
<p>The people the people the people</p>
</div>
<div class="field__item">
<img src="blah blah.jg";>
</div>
https://i.sstatic.net/9dQKV.png
Would appreciate some assistance. Thank you.