Design comparison
Solution retrospective
your feedback will be appreciated, i had issues positioning the slider thumb(that small white dot)
Community feedback
- @ApplePieGiraffePosted about 4 years ago
Hey, Degoke! 👋
Good work on this challenge! Your solution looks good! 👍
In addition to artimys' suggestions, I suggest,
- Centering the content of the page within the screen at all times (currently, it seems to move around a bit when the page is resized). You can easily do that, though, with flexbox (or auto margins or something).
- Making sure the background image scales and doesn't distort when the page is resized (you should be able to do that by setting
background-size
tocover
, I think). - Giving the options in the left box a hover state might be a nice touch!
Keep coding (and happy coding, too)! 😁
2 - @artimysPosted about 4 years ago
Hi Degoke, it's a good start to the challenge.
Suggestion #1 - A tip for that pesky white dot:
Create a div for the white dot and place it inside your
div.slider2
container. Give it the samewidth
andheight
along withpadding
andbackground-color
.Another way to think of the HTML structure for the slider. Play with the styling.
<div class="slider-track"> <div class="slider-bar"> <div class="slider-dot"></div> </div> </div>
Suggestion #2:
The down triangle separates from the white popup at 841px width. Try moving your
div.down-arrow
inside yourdiv.popup
container. Make the down arrowposition: absolute
, parent containerposition: relative
and play with positioning.Hope it helps and keep it up. 👍 👍
2
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord