Submitted
Social media dashboard
- HTML
- CSS
- JS
How do you animate the light/dark mode toggle? How do you set the @media breakpoints so that the mobile site will display when smaller than the desktop width?
@StevenTheAnalyst
Submitted
How do you animate the light/dark mode toggle? How do you set the @media breakpoints so that the mobile site will display when smaller than the desktop width?
Submitted
I wasn't sure how to make it so that the user could choose only one rating to submit. I tried using a radio input but that added a smaller circle to select and the number had a set distance that was off-center. Also, I wasn't sure how to show the rating that the user had clicked on the 'thank you' page. I tried using an event listener to save their choice as a variable to call later but I couldn't figure out how to do it so I left it as a static message always showing 4 out 5.
Submitted
What's the best way to 'group' the button icon and button text together to target for CSS? I tried using the float attribute but it moved the whole button instead of the components inside it. I ended up resorting to applying paddings to each one individually.
Submitted