How can I get this text to go next to the image? I'm not understanding this

This is the link to my code I had to put an orange as an image because the actual image was in my file.

This is what I am trying to do. Align the text to the right like this.

Also, how would I control the spacing in between ‘How it works’ and ‘Testimonials’, I wanted them to be closer and adding a margin negative isn’t doing anything.

I tried float:right and some other stuff I saw online but its not working.

Someone please help ;-; ~

You can set the .peach_bg element to be a flexbox container. You will also have to remove the float from the h2 and the margin and positioning on the image.

Quick example with code commented out and new added
https://jsfiddle.net/nkfwej92/

I’m not sure I understand your second question. Can you explain what you mean?