@Stephanie-Dennehy
Posted
I’m curious why you made the image a background rather than inserting it into the html. I think that would fix the background issues you’re having. You could directly control the image size as an html element.
@Stephanie-Dennehy I start with that and I had a problem and I just went with background syntax. I will retry to do it that way. Thanks
@Stephanie-Dennehy
Posted
@nekefer
Here is how I laid mine out if you want some ideas. I put the image inside a container so I could adjust the size of the image within the container for more responsive design.
<div class="card"> <div class="qr__container"> <img src="/images/image-qr-code.png" alt="qr code to scan"> </div> <div class="card__text"> <h1>Improve your frontend skills by building projects</h1> <p> Scan the QR code to visit Frontend Mentor and take your coding skills to the next level </p> </div> </div>Marked as helpful
@Stephanie-Dennehy Ok, got it. I will implement that later.