Latest solutions
- Submitted over 2 years ago
URL shortening API landing page build with reactjs
#accessibility#bootstrap#react#sass/scss- HTML
- CSS
- JS
- API
- Submitted over 2 years ago
REST Countries API with color theme switcher build with reactjs
#react#react-router#sass/scss- HTML
- CSS
- JS
- API
- Submitted over 2 years ago
Job listings with filtering build with reactjs & styled-components
#react#styled-components#accessibility- HTML
- CSS
- JS
- Submitted over 2 years ago
Intro section with dropdown navigation using scss & js
#accessibility#sass/scss- HTML
- CSS
- JS
Latest comments
- @AndresJurado117Submitted over 2 years ago@faha1999Posted over 2 years ago
Hello, Andres Congratulations on finishing this project. It's lovely and great on the whole! Just a little tip:
- You might want to use semantic tags like the
<main>
to wrap your code, instead ofdiv
. like
<main id="card"> </main>
This would help improve accessibility.
-
add favicon
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
-
add the below styles to the
body
. It will center everything
body { justify-content: center; align-items: center; display: flex; min-height: 100vh; flex-direction: column; /* padding: 20px; */ }
-
remove
margin: auto;
in the#card
-
use modern CSS reset
https://piccalil.li/blog/a-modern-css-reset/
-
Instead of using
px
, use relative units likerem or em
to get better performance when the information on your page needs to be resized for multiple screens and devices.REM
andEM
apply to all sizes, not justfont-size
. You can code your entire page inpx
and then, at the very end, use the VsCode pluginpx to rem
to perform the automatic conversion px to rem
I hope it will work. Happy coding.
Marked as helpful1 - You might want to use semantic tags like the
- @dadsec-devSubmitted over 2 years ago@faha1999Posted over 2 years ago
Hello, Stanley Congratulations on finishing this project. It's lovely and great on the whole! Just a little tip:
- You might want to use semantic tags like the
<main>
to wrap your code, instead ofdiv
. like
<main class="container"></main> <footer class="attribution"></footer>
This would help improve accessibility.
- add the below styles to the
body
. It will center everything
body { justify-content: center; align-items: center; display: flex; min-height: 100vh; flex-direction: column; }
- Add the below styles to the
.container
.container{ max-width: 40rem; /* margin: 7rem 15rem 9rem 15rem; */ /* border: 1px solid hsl(30, 38%, 92%); */ }
Remove all margin
-
Fixed the media issue.
-
Instead of using
px
, use relative units likerem or em
to get better performance when the information on your page needs to be resized for multiple screens and devices.REM
andEM
apply to all sizes, not justfont-size
. You can code your entire page inpx
and then, at the very end, use the VsCode pluginpx to rem
to perform the automatic conversion px to rem
I hope it will work. Happy coding.
Marked as helpful0 - You might want to use semantic tags like the
- @iDylaanSubmitted over 2 years ago@faha1999Posted over 2 years ago
Hello, Danii Congratulations on finishing this project. It's lovely and great on the whole! Just a little tip:
- add the below styles to the
body
. It will center everything
body { justify-content: center; align-items: center; display: flex; min-height: 100vh; flex-direction: column; }
-
@media (min-width: 768px){} not
min-width: 1440px
this will be more responsive. -
for HTML Validation error follow this URL
https://rocketvalidator.com/html-validation/section-lacks-heading-consider-using-h2-h6-elements-to-add-identifying-headings-to-all-sections
-
Instead of using
px
, use relative units likerem or em
to get better performance when the information on your page needs to be resized for multiple screens and devices.REM
andEM
apply to all sizes, not justfont-size
. You can code your entire page inpx
and then, at the very end, use the VsCode pluginpx to rem
to perform the automatic conversion px to rem
I hope it will work. Happy coding.
0 - add the below styles to the
- @Mussu007Submitted over 2 years ago@faha1999Posted over 2 years ago
Hello, Mustafa Anandwala Congratulations on finishing this project. It's lovely and great on the whole! Just a little tip:
- You might want to use semantic tags like the
<main>
to wrap your code, instead ofdiv
. like
<main class="container"> </main>
This would help improve accessibility.
-
add
align-items: center;
to thebody
-
remove
margin
from the.container
-
Instead of using
px
, use relative units likerem or em
to get better performance when the information on your page needs to be resized for multiple screens and devices.REM
andEM
apply to all sizes, not justfont-size
. You can code your entire page inpx
and then, at the very end, use the VsCode pluginpx to rem
to perform the automatic conversion px to rem
I hope it will work. Happy coding.
Marked as helpful1 - You might want to use semantic tags like the
- @ikennarichardSubmitted over 2 years ago@faha1999Posted over 2 years ago
Hello, Ikenna Oguejiofor Congratulations on finishing this project. It's lovely and great on the whole! Just a little tip:
- You might want to use semantic tags like the
<main>
to wrap your code, instead ofdiv
. like
<main class="container"> </main>
- add
alt="image-product-desktop"
attribute inimg
This would help improve accessibility.
- add the below styles to the
body
. It will center everything
body { justify-content: center; align-items: center; display: flex; min-height: 100vh; flex-direction: column; }
- remove the below styles from
.container
&.wrapper
.container{ /* width: 50vw; */ /* display: flex; */ } .wrapper{ /*left: 50%;*/ background: white; } @media (max-width: 550px) .wrapper { /*margin-top: 20px; */ /* margin-left: 20px; */ /*left: 50%;*/ } .product-details { width: fit-content; } }
-
Fixed the other HTML Validation error from the report.
-
Instead of using
px
, use relative units likerem or em
to get better performance when the information on your page needs to be resized for multiple screens and devices.REM
andEM
apply to all sizes, not justfont-size
. You can code your entire page inpx
and then, at the very end, use the VsCode pluginpx to rem
to perform the automatic conversion px to rem
I hope it will work. Happy coding.
Marked as helpful0 - You might want to use semantic tags like the
- @khaleelulahSubmitted over 2 years ago@faha1999Posted over 2 years ago
Hello, khaleelulah Congratulations on finishing this project. It's lovely and great on the whole! Just a little tip:
- You might want to use semantic tags like the
<main>
to wrap your code, instead ofdiv
. like
<main class="main-container"> </main>
This would help improve accessibility.
- active-state of
img
<a class="image" href="#"> <img src="./assets/images/image-equilibrium.jpg" alt="Equilibrium image" /> </a>
- hover effect
.image { position: relative; display: block; height: 320px; overflow: hidden; border-radius: .7rem; } .image::before { content: ''; position: absolute; top: 0; left: 0; z-index: 100; width: 100%; height: 100%; opacity: 0; transform: scale(0); background-color: transparentize(hsl(178, 100%, 50%), 0.5); transition: transform 0.4s ease-in-out, opacity 0.3s; } .image:hover::before { opacity: 1; transform: scale(1); } .image::after { content: url(../../images/icon-view.svg); position: absolute; top: 0; left: 0; z-index: 100; width: 100%; height: 100%; opacity: 0; transition: opacity 0.2s ease-in 0.1s; display: flex; justify-content: center; align-items: center; } .image:hover::after { opacity: 1; }
- for HTML validation error of
img
please visit below links
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
,https://www.w3schools.com/tags/att_img_width.asp
-
fix the other Accessibility issue from the report.
-
Instead of using
px
, use relative units likerem or em
to get better performance when the information on your page needs to be resized for multiple screens and devices.REM
andEM
apply to all sizes, not justfont-size
. You can code your entire page inpx
and then, at the very end, use the VsCode pluginpx to rem
to perform the automatic conversion px to rem
I hope it will work. Happy coding.
Marked as helpful0 - You might want to use semantic tags like the