@TheMax370
Posted
Hi Barney congrats on completing the challenge and to answer your questions:
- You will always need media queries for displaying your web page on smaller devices, why? because as much as responsive your web page is some elements or containers will need some kind of resizing, if you want to make cards responsive across viewports then you should use vh and vw lengths. You can check my last challenge and see the approach that I took on responsive containers and images.
2.In the case of your JS is alright and the approach you took works, there are two things that I saw that you should check first one is that the function that autofills the inputs should be deleted because users should be able to input and see their own information rather than deleting some existing one, second your cardholder name should have a max length and your card number input doesn't let me delete the card number.
But in general your web page is really responsive and that is something good.