This is my second website I've built and I really put a lot of effort into it.
As with all my work, I would be very grateful if you would leave me some criticism or advice, because that way I can progress more easily.
If you have any questions for me, feel free to ask.
Notice the difference? Not much right I just canceled out the padding-top property which was making the extra space and letting the unnecessary scroll bar and actually added one property i.e min-height: 100vh;
With this, the flex properties will make more sense and the card will be placed at the center of your web page. Give it a try
If you found this helpful you can mark this cmt as helpful
My second task. Any suggestions? I was thinking about putting those images as the background-image, but finally, I let them as part of the HTML and used display: none when needed. I am not sure which solution is better or the best practice.
You can do this alternative method:-
So what happening here is,
if the screen width is more than 800px it will use the desktop version of the image that you will provide, whereas when the screen comes to less than 780px it will implement the mobile version of that image.
Hey there mate,
I really liked the way you used the article tag to implement the title, paragraph, and CTA.
An alternate for this will be mainly flexbox. By having two div inside the main element, you can provide them with the class left and right respectively, and by giving the [ display: flex ] property to the main container in which these two reside, you can easily manipulate them.
If you found this helpful you can make this comment marked as helpful.
Hello, Frontend Mentor community! This is my solution to the Base Apparel coming soon page.
I appreciate all the feedback you left that helped me to improve this project. Due to the fact that I published this project very long ago, I am no longer updating it and changing its status to Public Archive on my Github.
You are free to download or use the code for reference in your projects, but I no longer update it or accept any feedback.
Hey Catherine,
The work is amazing, just so you know the placeholder text did not inherit the font family.
So to do the trick, you can do the following:-
"input::placeholder { font-family: }"
This way you give the font family style to the placeholder text too.
Hey there,
Congratulations on your work.
I just looked at your code and got some things to suggest for you as a fresher developer I myself made such mistakes.
Wrap the "Gabrielle Essence Eau De Parfum" inside the <h1> tag as it will show the browser that this is the page's title. p.s:- Never leave a page without a title.
<p class="normal-price">$169.99</p>
Don't wrap inline items with "p" tag let it be used only for paragraph stuff.
Instead use <span> tag like this:-
<span> <del> $169.99 </del></span>
Also, the <del> tag defines the text that has been deleted from a document. Browsers will usually strike a line through the deleted text.
Check out this below link for more understanding:-
https://www.w3schools.com/tags/tag_del.asp#:~:text=The%20tag%20defines%20text,a%20line%20through%20deleted%20text.
If you find this insightful in any way you can give it marked as helpful.