I am making my first website, but i have come into a problem. When i change the size of my window my layout changes. For example the paragraphs extend into a different shape.
I have ttried to look everywhere over the internet but i am still not able to fix it.
Hi, Felix. After looking at your code, I can give you a few tips:
First of all, your HTML is lacking structure:
<main>
<h2> About Me </h2>
<p>Welcome to my portfolio!</p>
<br>
<h2>What I am doing</h2>
<br>
<h4>Living</h4>
<p>I am currently living...</p>
<h4>Free Time</h4>
<p>I at the moment..</p>
<h4>Businesses</h4>
<p>At a young age i started...</p>
</main>
Try to put related info into a group using <section> or <div> so you can select those groups to apply CSS style to them.