Design comparison
Solution retrospective
This one toke a bit more time than I expected but this happens always. I would really appreciate it if you share your toughts about any of the following qestion.
-
I dicided to exclude the hero section from the main, is doing so in any inappropriate or bad practice ?
-
Should all the typografi for components be written in the same file as for the rest of the page ?
-
In the testimonials section, the first testimonial has quoate icon on top of it the needs to be partially underneth the testimonial, I tried with z-index but for some mystrious reason it didn't work, how can it be fixed ?
-
What tool do you use for measuring font-size in you projects ?
-
You guys who always get the measurment aspect of the design right, I would appreciate if you share some of your tips/tricks.
Happy coding :)
Community feedback
- @yasssuzPosted over 3 years ago
hello!
Sure, here are my opinions:
- The best semantically speaking Html structure IMO is this:
<header></header> <main> <section></section> //all of your sections should go inside a <section> nested inside main <section></section> </main> <footer></footer>
- No, they don't. I prefer to keep them in another file so it is easier to maintain.
- For me is actually working fine, but I would suggest using
::before
withposition: absolute
(make sure the parent element isposition: relative
). - I usually use Figma or sketch.
- If you're not a pro member, you will still have the jpeg of each page of the project. So open Figma, drop them inside your workspace, and create blocks to measure height and width.
Please upvote my comment and happy coding :)
3@MojtabaMosaviPosted over 3 years ago@Galielo-App thanks. About the positioning, that's exactly what I've done but for some strange reason it doesn't work.
0@yasssuzPosted over 3 years ago@MojtabaMosavi very weird!
for me, your website is working fine
0 - @detachedsoulPosted over 3 years ago
What I would have done is instead of making the quotes a background image, you put it in the first testimony card and make that card positioned relatively. Then you can make the quote absolute and manipulate it as you like.
Something like:
<div //this would be position: relative > <img src="your quotes> // testimonial content </div>
You can now use z-index the quotes and move it around.
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord