Tell us what’s happening:
I am really disappointed in myself. I have spent quite a bit of time to get this product landing page right.
The more I work it messier it is gets. At the end I don’t really know what is going on.
I tried to copy FCC sample but still messed it up.
I am not sure how to break it down the project to smaller pieces so it does not mess up entire page once I change font or width.
Which elements needs to be styled first, which properties necessary or unnecessary and which one goes first or second. Ughghghg
It seems like big giant puzzle except it has own gazillion puzzles, which has gazillion ways to approach…
Sorry for the rant. I am sure there are people have/had this. Maybe you can share your struggles.
Your code so far
import subtract from "math_funcions";
Your browser information:
User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36.
Link to the challenge:
You have many syntax issues you need to resolve, which could help you fix many problems I am seeing. Codepen has a nice feature for each module (HTML, CSS, and JS). In the upper right hand corner of each module there is a dropdown menu. The HTML dropdown has a Analyze HTML and there is a corresponding option in the CSS and JS modules. Once you click on this link, it will capture several issues. Work through each one and recheck after each fix to make sure you have not created any further errors. Once all the critical errors are fixed, take a look at your project and see what needs to be adjusted overall in the html and css code.
If you get stuck and need some help, just ask.
FYI - Overall your project looks great on desktop. The problem becomes when the browser width shrinks. Because you are using a lot of fixed widths and heights (vs. percentages or relative units) for certain container elements, some text starts overflowing into other elements. Just try to tackle one thing at a time.
I will show you one such easy fix. Take the following class for the Features div.
margin: 0 auto;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
If you just change the height from 200px to 100% or remove the height property all together, it will expand to the full height of the content inside it.