Latest solutions
Responsive blog preview card built with HTML, CSS and Flexbox
#accessibilitySubmitted about 1 year ago
Latest comments
- @det0rlarSubmitted over 1 year ago@Ryusuke66Posted over 1 year ago
Congrats on finishing the challenge your solution looks great, one thing i found is when i reload the website the advice changes twice sometimes, what causes that is this code in your Javascript file:
window.onload = () => { getAdvice(); }
it's not needed since the API changes the advice every 2 seconds, so you can remove it and it will fix the issue. Good luck and happy coding!
Marked as helpful0 - @Hamid997Submitted over 1 year ago@Ryusuke66Posted over 1 year ago
Hi Hamid, your solution looks great, but there's a little issue, when the screen width is between 741px and 809px the page overflows sideways, to fix that you can change
.navLink
padding topadding: 15px;
instead ofpadding: 15px 30px
, Happy coding!Marked as helpful0 - @marvcoolguySubmitted over 3 years ago@Ryusuke66Posted over 3 years ago
- the background isn't the same as the design.
- using header image as a background is better than putting it as an element.
- the font family for the design is "Red Hat Display".
Marked as helpful1 - @NembotJulesSubmitted over 3 years ago@Ryusuke66Posted over 3 years ago
- Looks good, the issue is that from 500px to 900px the design is overflowing, you have to scroll sideways to see the rest.
Marked as helpful0 - @GastonGAlvarezSubmitted over 3 years ago@Ryusuke66Posted over 3 years ago
- Good work, you should add
background-size: contain
and change thebackground-repeat
property tono-repeat
in the body element.
Marked as helpful1 - Good work, you should add