Design comparison
Solution retrospective
How is the Responsiveness of the site I mean is there anything I can improve?
Community feedback
- @SzymonRojekPosted almost 4 years ago
Hi Raj,
Welcome here! Well done :D
I have checked your HTML structure, a few tips for you:
- instead of <div class="main_container"> you can add semantic tag main;
- generally all three divs you can put into the section tag**;
- using ID's just for styling it is not a good practice (you will need them with JS);
- instead of the button you can also use the link => check this article from the CSS-tricks: A Complete Guide to Links and Buttons; also, great that you didn’t remove the outline! :D
- in the third box it is good occasion to use unordered list and list item ul > li.
Design:
- first box: black text should be have a grey color ;
- also there is a small detail (check the design folder) => on mobile two paragraphs in the first box are together as a text but later they are like two separate paragraphs;
- on mobile: add margin top and bottom.
That's from me.
Greetings :D
3 - @daudi13Posted almost 4 years ago
Hi, Raj. I've taken a look at your code and I found your project very responsive in both mobile and desktop. I just have a few suggestions.
1.Make use of BEM naming convention. it is very easy to learn and use. Because it will make working on your CSS very easy and you're going to need it when you work with JS.
2.Avoid using
button
for clickable buttons but instead usebutton:submit
.Thank you for your submission and keep up the good work. Happy coding.
1@SzymonRojekPosted almost 4 years ago@daudi13
BEM it is a good idea. Also, in this solution I prefer the link to the sign form and then probably I would use a form with input or button => The button submits the form data to the server. This is the default if the attribute is not specified for buttons associated with a <form>, or if the attribute is an empty or invalid value.
This is only my point of view :D
2
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