@Darkx-devSubmitted 10 months ago
Is there any better approach for updating values after input change?
Is there any better approach for updating values after input change?
Instead of onkeyup/onkeydown, use onclick and apply it on the purple button there.
please can someone explain responsiveness and how I can apply it on both mobile and desktop? thank you!
You need to use Media Queries for that. You use Media queries to determine how the page is going to behave in a determinate size. But you have to code every possible screen size you want to add.
The one you've done now should be inside a media query with a width of 400px or so. You just need to code the desktop version now. Remember that the desktop version comes first in the Cascade, and the mobile version comes after.