Latest solutions
WeatherCast the Space Tourism Alternative with Grid layou & Vanilla JS
#accessibility#fetchSubmitted over 1 year agoReact Countries & Weather API with color theme switcher
#fetch#node#react#react-router#styled-componentsSubmitted over 1 year agoAxios Advice Generator with BG color change
#accessibility#animation#axiosSubmitted almost 3 years ago
Latest comments
- @MyselfRoshan@denielden
Hello Roshan, You have done a good work! 😁
Some little tips to improve your code:
- add descriptive text in the
alt
attribute of the images - to make it look as close to the design as possible decrease
broder-radius
to.search-bar
class - use one class to
body
to change the all theme color of app - after, add
transition
on the body to smooth the change theme color - use
ul
element for the details text of country instead of multiplep
- I would also add a query reset button, I find it very convenient
- in the filters there is no way to return to all countries after choosing a region, add an entry "all region"
Keep learning how to code with your amazing solutions to challenges.
Hope this help 😉 and Happy coding!
- add descriptive text in the
- @meissadev@denielden
Hello, You have done a good work! 😁
Some little tips to improve your code:
- add
main
tag and wrap the card for improve the Accessibility - also you can use
article
tag instead of a simplediv
to the container card for improve the Accessibility - remove all unnecessary code, the less you write the better as well as being clearer: for example the
div
container of image - centering a
div
withabsolute
positioning is now deprecated, it uses modern css likeflexbox or grid
- use flexbox to the body to center the card. Read here -> best flex guide
- after, add
min-height: 100vh
to body because Flexbox aligns child items to the size of the parent container - instead of using
px
use relative units of measurement likerem
-> read here
Keep learning how to code with your amazing solutions to challenges.
Hope this help 😉 and Happy coding!
Marked as helpful - add
- @EduardIonescu@denielden
Hello Eduard, You have done a good work! 😁
Some little tips to improve your code:
- you can use
article
tag instead of a simplediv
to the container card for improve the Accessibility - use
class
to style the element and notid
because the ids must be unique in all the page - instead of using
px
use relative units of measurement likerem
-> read here
Keep learning how to code with your amazing solutions to challenges.
Hope this help 😉 and Happy coding!
Marked as helpful - you can use
- @Sunil20011@denielden
Hello Sunil, You have done a good work! 😁
Some little tips to improve your code:
- add
main
tag and wrap the card for improve the Accessibility - also you can use
article
tag instead of a simplediv
to the container card for improve the Accessibility img
element must have analt
attribute, it's very important!- add descriptive text in the
alt
attribute of the images - remove all
margin and width
properties frombody
- remove all
margin
fromcard and container
classes - use flexbox to the body to center the card. Read here -> best flex guide
- after, add
min-height: 100vh
to body because Flexbox aligns child items to the size of the parent container - instead of using
px
use relative units of measurement likerem
-> read here
Keep learning how to code with your amazing solutions to challenges.
Hope this help 😉 and Happy coding!
- add
- @DanielLucaci@denielden
Hello Lucaci, You have done a good work! 😁
Some little tips to improve your code:
- use
main
tag to wrap the card and improve the Accessibility but not as a container of that element - use
article or blockquote
tag instead ofmain
tag to the container card for improve the Accessibility - you can use
picture
tag to change image by resolution -> read here - use
min-height: 100vh
to body instead ofheight
, otherwise the content is cut off when the browser height is less than the content - instead of using
px or %
use relative units of measurement likerem
-> read here
Keep learning how to code with your amazing solutions to challenges.
Hope this help 😉 and Happy coding!
Marked as helpful - use
- @Narnayak95@denielden
Hi, You have done a good work! 😁
Some little tips to improve your code:
- add
main
tag and wrap the card for improve the Accessibility - also you can use
article
tag instead of a simplediv
to the container card for improve the Accessibility - add descriptive text in the
alt
attribute of the images - use
min-height: 100vh
to body instead ofheight
, otherwise the content is cut off when the browser height is less than the content - instead of using
px
use relative units of measurement likerem
-> read here
Keep learning how to code with your amazing solutions to challenges.
Hope this help 😉 and Happy coding!
Marked as helpful - add