@anoshaahmed
Submitted
Would appreciate any suggestions to improve my code!
Looking to hire developers?
@al3xback
@anoshaahmed
Submitted
Would appreciate any suggestions to improve my code!
@al3xback
Posted
Hi Anosha,
I think this structure is not well optimized when have long content. (https://prnt.sc/24lvdv1, https://prnt.sc/24lvvu0)
Marked as helpful
@donchriscorleone
Submitted
Any feedback would be appreciated.
@al3xback
Posted
Hi Christopher,
I think we dont need to add width 80% on .card
class. Cos this will create empty space. Attached screenshot for a better view. (https://prnt.sc/24lspqh)
@AleksandarV91
Submitted
Any feedback is welcome!
@al3xback
Posted
Hi AleksandarV91,
I see double scrollbar here, https://prnt.sc/24gxp6o
Looks like there is a structure problem
@Wildmarks-Passos
Submitted
I noticed that in the original image of the challenge, in the color part -> #0c1729, there are some broken parts, does anyone know how I do this with CSS? I couldn't find anything relevant.
@al3xback
Posted
Hi Wildmarks,
I see that the color (#0c1729) is not working cos it's overridden by children's background-color (#15273f) on class contentContainer
.
The css concept is actually each children can overwrite/change the inherit value from the parent.
Marked as helpful
@RokuFSD
Submitted
My first frontend project mentor any feedback is appreciated
@al3xback
Posted
Hi Emiliano,
For this case, it would be good if we use fixed value instead of percentage for max-width on container class. If we look on larger desktop or simply zoom out then we will see the difference.
I would change to this:
.container {
max-width: 1200px;
padding: 3% 5%;
margin: 0 auto;
}
Marked as helpful
@MarkWasfy00
Submitted
please leave a reviews ,, thanks in advance :)
@al3xback
Posted
HI Mark,
My feedback are as follows:
nft-photo
, using flex properties is unnecessary cos we dont have content inside.ETH
and time
, we dont need to use flex-direction: row
as its default value for flex.color
property on class line
, it's alr handled by border.Marked as helpful
@AchrefFast
Submitted
Hello everyone,
Any feedback would be appreciated.
Thanks.
@al3xback
Posted
Hi Achref,
By using place-content, behind the scene, we are adding special styles to grid-container (grid-template-columns: min-content;
and grid-template-rows: min-content;
) which make each grid-items shrinks so we can place them easily according to the value of place-content.
Those additional styles won't work if we assign fraction unit value to grid-template-columns. Fraction unit provide grid-item the ability to occupy existing space (similar to grow in flex) and this will make grid-container difficult to manage position of grid-items.
Hope this clear :)
Marked as helpful
@AchrefFast
Submitted
Hello everyone,
Any feedback would be appreciated.
Thanks.
@al3xback
Posted
Hi Achref,
I think for this case we dont need to use place-items
.
This will break the layout if the grid-item doesn't have paragraph element.
Attached screenshot for this case. (https://prnt.sc/23dredg)
and for place-content
, it doesnt have effect if we combine with fraction unit(fr) on grid-template-columns (cos usually only work for px or auto).
Marked as helpful
@aliabuhumra
Submitted
I used the net for this challenge, I need your feedback please😊
@al3xback
Posted
Hi AliAbuhumra,
I would recommend using margin-top
instead of translateY
on .quotes__item
, by using this will allows the parent's height equal to children height (including margin).
@notanut
Submitted
any feedback is welcome!
@al3xback
Posted
Hi Natasya,
My feedback is:
a) this is just static image and never changing too often (even no need for CMS setup for future).
b) we are not going to use picture element for better rendering.
c) less code.. haha
main
, changes will be:main {
...
flex-wrap: wrap; //remove
align-items: center; //remove
}
we dont need align-items: center
cos each .list
element has width property 100%, then this has no effect :)
and we dont need flex-wrap: wrap
cos we dont set exact height to it.
Marked as helpful
@Brivan-26
Submitted
I really enjoyed solving this challenge where I applied the grid system, I used only 1 grid container, and I displayed sub-cards using the great command: grid-template-areas. I'm wondering if you could use breakpoints under 750px because I used 960px(under this view, the cards will be adjoining Your comments and criticisms are welcome
@al3xback
Posted
Hi Brivan,
I think it is better to set grid-template-columns by using fraction unit (1fr). currently the grid items dont fully cover the grid container, leaving minus 1% on the right side.
@NomiDomi
Submitted
Hello guys,
This is my second attempt to recreate this design. This was one of my first designs to implement before I was fully familiar with concepts like:
Appreciate any feedback! :)
@al3xback
Posted
Hi Noemi,
It is better to change height
to min-height
on body.
try to zoom-in until the browser height smaller than the content, and see the difference. min-height allows better view to see full content.
Marked as helpful
I faced a problem setting the background images as given in the sample design. Is there any better way to do it?
@al3xback
Posted
Hi Eshan,
My feedback is:
body
and add some grid properties.body {
...
place-content: center; //remove
background-color: //keep!
background-image: //remove
background-position: //remove
background-repeat: //remove
grid-template-columns: 1fr auto 1fr; //add
grid-template-rows: 1fr auto 1fr; //add
overflow: hidden; //add
}
main
, the structure will be like this.<body>
<div class="decoration-bg decoration-bg-1"></div>
<div class="decoration-bg decoration-bg-2"></div>
<main>...</main>
<footer>...</footer>
</body>
.decoration-bg {
position: relative;
}
.decoration-bg-1 {
grid-area: 1 / 1 / 2 / 2;
}
.decoration-bg-2 {
grid-area: 3 / 3 / 4 / 4;
}
.decoration-bg-1::before,
.decoration-bg-2::before {
content: "";
position: absolute;
width: 980px;
height: 980px;
background-size: 100% auto;
background-repeat: no-repeat;
}
.decoration-bg-1::before {
bottom: 0;
right: 0;
background-image: url(./images/bg-pattern-top.svg);
transform: translate(20%, 20%);
}
.decoration-bg-2::before {
top: 0;
left: 0;
background-image: url(./images/bg-pattern-bottom.svg);
transform: translate(-20%, -20%);
}
main
and footer
..card {
...
grid-area: 2 / 2 / 3 / 3;
}
.attribution {
...
padding: 12px 0;
grid-area: 3 / 1 / 4 / span 3;
align-self: end;
}
Marked as helpful
@rizahoemae
Submitted
Hi, I'm just curious about the color of the text in the description. Is it okay if I use hsl white color(0, 0%, 100%) with 50% opacity instead of new color? I also coded both (mobile & desktop) in one style, is that okay? Thank you in advance
@al3xback
Posted
Hi rizahoemae,
In my opinion, using the opacity
property to reduce the contrast of a color is not a good idea,
because there is a condition where if in future we want to add an image, icon or other element inside that element, then the newly added element will also be affected by the opacity.
It is better if we set through tailwind text-opacity:
from:
<div class="text-white opacity-50 text-[14px] mt-2">Our Equilibrium collection promotes balance and calm.</div>
change to:
<div class="text-white text-[14px] mt-2 text-opacity-50">Our Equilibrium collection promotes balance and calm.</div>
This approach will only inherit color.
@pqhung3007
Submitted
I would appreciate any feedbacks to improve the UI of this exercise. Happy coding!
@al3xback
Posted
Hi Quang,
Would be good if we dont set width on each grid item (in this case on .card
class) if we use grid-template-areas.
let the parent controls the width of its children using grid-auto-columns: 1fr;
or
grid-template-columns: repeat(5, 1fr)
;
Marked as helpful
@namlh023
Submitted
Happy to have any feedback.
@al3xback
Posted
Hi Ryan,
My feedback is:
width: auto
and height: auto
to .card__image
is unnecessarily
unless we use width
and height
attributes on img then neutralize it with css.Marked as helpful
@MordenWebDev
Submitted
hi developers, please provide some feedback on this. first landing page by me.
@al3xback
Posted
Hi Morden,
Looks like in larger screen this needs to be improved.
body
to cover at least the same as browser height and set background-size to fill it.body {
...
min-height: 100vh;
background-repeat: no-repeat;
background-size: auto 100%;
}
<section>
tag out of <header>
tag and then wrap with <main>
tag.
The structure will be like this:<header>
<nav>...</nav>
</header>
<main>
<section>...</section>
</main>
<footer>...</footer>
@pittyh6
Submitted
Hi there. Could you give me your opinion about my code? What I can do to get better? How can I organize my code? Everything that can help me to be a better developer. Thank you..
@al3xback
Posted
Hi Priscila,
My feedback is:
section
..small-content {
...
padding: 60px 0;
}
.shape-fe {
...
z-index: -1;
}
@latifii
Submitted
All feedback are welcome. Was there something i could've done better?
@al3xback
Posted
Hi Hamed,
My feedback is:
.card-img {
...
max-width: 50%;
}
Try to change img url to something larger image and see the difference.
Marked as helpful
@notanut
Submitted
Please kindly leave me a feedback! :)
@al3xback
Posted
Hi Natasya,
For the arrow icon, it would be better if set to middle :) The problem is in the heading which still inherits the user agent properties esp margin.
We can try something like this:
article {
...
padding: 1rem 0;
}
article header h4 {
...
margin: 0;
}
button {
...
display: inline-flex;
align-items: center;
}
Marked as helpful
@notanut
Submitted
any feedback is welcome!
@al3xback
Posted
Hi Natasya,
Looks like for the header bg is not fully cover the entire screen, esc when viewed on larger device. Try to zoom out the browser and see.
My feedback is:
.header__bg__image
and inheritance to .header__bg__image img
selector..header__bg__image {
...
width: 100%;
}
.header__bg__image img {
...
width: inherit;
}
<button type="button">All</button>
<button type="button">Active</button>
<button type="button">Completed</button>
<button type="button">Clear Completed</button>
Marked as helpful