@KruzadeR-VictoR
Submitted
I'd love to have some Suggestions .
@jimavictor
@KruzadeR-VictoR
Submitted
I'd love to have some Suggestions .
@jimavictor
Posted
Hello there! Awesome work with this project. Looking at your solution, I would like to suggest the following for you…
Marked as helpful
@Priya366
Submitted
Anyone who knows "how to vertically center container in this challenge?" please do give your feedbacks. Other than this , every other feedback will also be appreciated. Thanks!!
@jimavictor
Posted
Hello there! Awesome work with this project. Looking at your solution.. You can use flex-box to center your container grid by adding the following code to your body styles in your style.css file:
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
Once again, awesome work! Hope this is helpful!
@Omar-majdi
Submitted
@jimavictor
Posted
Hello Omar!! Nice work on completing this challenge. You really did a great job, especially on the layout. Looking at your solution, i will like to suggest the following to help improve it:
<div class="img">
<img src="./images/image-equilibrium.jpg" alt="image-equilibrium" class="img-1">
<div class="overlay">
<img src="./images/icon-view.svg" alt="">
</div>
</div>
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
.overlay {
height: 300px;
width: 300px;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
top: 20px;
opacity: 0;
}
.overlay:hover {
cursor: pointer;
background-color: hsl(178, 100%, 50%, 0.4);
opacity: 1;
}
.white:hover {
cursor: pointer;
}
@karimfilali
Submitted
Hello World ! :)
@jimavictor
Posted
Hello there! Awesome work with this project. Looking at your solution, I would like to suggest that you add the second parameter to the fetch method in your script.js
file to enable it fetch new advice every time a user clicks the dice button. You could add something like this..
fetch("https://api.adviceslip.com/advice", { cache: "no-cache", });
Hope this was helpful..
Marked as helpful
@kawthar-tor
Submitted
Please check my code , see if there's any technique to learn and make the task easier .
@jimavictor
Posted
Hello there! You did a great job on this project. Looking at your solution, I noticed you did not add the cursor: pointer;
on active states(when a mouse is hovered).. And the UI doesn't really appear fully on screens with width 320px.
Above all, the design is really great. Keep up the good work. Hope this was helpful!
Marked as helpful
@Favvie
Submitted
Any feedback would be appreciated.
@jimavictor
Posted
It's perfect. You can adjust the space between the text and the button to make it even better but it still looks good without it.