Latest solutions
Responsive Notifications Page Using React, CSS Fflexbox, CSS Grid
#react#bemSubmitted about 2 years agoResponsive expenses chart component using Chart.js, BEM
#accessibility#bem#chart-jsSubmitted over 2 years agoResponsive Product Preview Card Component using Flexbox, BEM
#bem#accessibilitySubmitted over 2 years agoResponsive Single Price Grid Component - BEM, flexbox, media query
#accessibility#bemSubmitted about 3 years ago
Latest comments
- @MirTynanSubmitted over 2 years ago@ereljapcoPosted over 2 years ago
Hey, MirTynan!
Try to use rem. 0.65rem worked for mine :)
And if I may add some suggestions:
Re: accessibility
- You can wrap your
container
inside main. - You can add
alt="Add a description here"
for the image
Re: style
- You can use flexbox on
main
to place your item in the center of the viewport. Consider setting your height to100vh
- You can add the font-family that is in the
style-guide.md
Marked as helpful0 - You can wrap your
- @ShayinurSubmitted over 2 years ago@ereljapcoPosted over 2 years ago
Hey, Shay! Nice to see your finished solution for this challenge. Just submitted mine, as well :)
Just some few points:
Re: accessibility
- You could wrap the
container
inside themain
tags and theattribution
inside thefooter
tags. - For the icon tag, since its for decoration only, you could add a blank alt
alt=""
Re: styles
- If you will use the
main
tags, as I suggested, you could set its height to100vh
and place yourcontainer
in the center using flexbox on themain
- You can decrease your breakpoint (i.e. the value of
min-width
on media query) to make your solution more responsive :)
Marked as helpful0 - You could wrap the
- @icyrockgirlSubmitted over 2 years ago@ereljapcoPosted over 2 years ago
Re: styles
- The
select
should be be light grey colored, while thehover
state should be the orange colored - You forgot to add
cursor: pointer
- You forgot the hover state for the submit button
Re: accessibility
- wrap your main contents with the
main
tag - wrap your attribution with the
footer
tag - since the image is for decorative, you could add
alt=""
More information regarding accessibility here https://www.w3.org/WAI/tutorials/images/
Overall, great job on finishing the challenge! Hope to see more finished challenges from you :)
Marked as helpful0 - The
- @VANIMEHTASubmitted almost 3 years ago@ereljapcoPosted almost 3 years ago
Hello!
- You can wrap the dollar sign and the input element in a container. And add styles to it :)
<div class="bill__input-container"> <p class="bill__dollar-sign">$ <input class="bill__input" /> </div>
- You're currently using
tipchoosen
, which is a nodelist, to get the value of the button clicked.tipchoosen.value
returnsundefined
. Instead, use theevent.target
to get the value.
Some things I noticed that you could look into:
- 50% tip button's value was set to 0.25
NaN
is appearing whenbillVal
is empty. You can add anif
condition so you can set a value to billVal if it becomes empty.
Marked as helpful0 - @blurrypxlSubmitted over 3 years ago@ereljapcoPosted about 3 years ago
Hello, Alif. Great work! Tried the functionality of your work. The amount backed and number of total backers is updating, however the number of items left isn't.
Marked as helpful1 - @Jitesh117Submitted over 3 years ago@ereljapcoPosted over 3 years ago
-
You can make the on hover effect by adding a div inside the div container of the equilibrium image. Then add the view image inside the newly created div. Make use of the position property where the new div is placed on top of the equilibrium. Set the background-color of the new div to the primary. Then set the opacity of the new div to 0. Then set the opacity of the new div on hover to 0.x.
-
For the accessibility issues, you can use main tag instead of div tag for the div.container and footer tag for the div.attribution.
Marked as helpful0 -