I am having issues with my code since implementing the mobile drop down menu bar on the left hand side of the page. Sorry I have put so much code in the codepen I just dont know what is wrong so I cant eliminate much of it. As you can see when you when you shrink the page down to 600px it turns into the mobile version with a drop down menu tab for the different pages. The problem is when I do this the other elements for the page sits below the bottom of the drop down menu not at the top of the page ( scroll down bellow the yellow box and you will see the blue and black text below the yellow box which should be at the top of the page. The desktop version is fine the way it is but I dont know how to make all the elements sit at the top of the page for the mobile version. As you can see the text and images sits below the yellow box not at the top of the page. If I remove the yellow box it also uncovers the drop down menu for the mobile screen so I cannot remove that part. I have tried placing the info between the site-wrap in the HTML but that just makes all the text clickable and it also affects the desktop version which I dont want it to do. Where am I going wrong? I have attached the code below
Have you validated your HTML? You have some creative code there. There are some stray tags associated with the nav and lists and I’m not sure how they are supposed to be arranged. There is also some HTML in the CSS (attempt to call and svg). Please validate your HTML and CSS and make whatever corrections are needed to the CodePen, and let us know when you are finished.
Codepen now as built in linting, click the drop-down arrow on the HTML/CSS editor window and click Analyze HTML/CSS to highlight problems in your code.