I want to say great job on this challenge! If you want to make sure that you that your container is center perfectly, here's what you should do inside your <main> or <div>
I have a solution to make your outer-container div center in place! I recommend that you use a main tag as a semantic element and once you add it inside the body, use a flexbox to align everything center!
I was wondering if there is a simple way of auto-formatting the card number input from users without using frameworks (i.e. auto-spacing 4-digit numbers)
You should add an input event listeners as it is an effective way to achieve this as well as a combination with the innerHTML property to update the content of card containers. The input event listener on the button triggers the update of the card container's content when the button is clicked. The innerHTML property is used to replace the existing content with the new content generated from the user's input and dynamic numbers.
I have a solution to make your outer-container div center in place!
I recommend that you use a main tag as a semantic element and once you add it inside the body, use a flexbox to align everything center!
Congrats, on completing the project!
I got a tips that can help:
When you are adding an unorderlist with list-items you can use the list-style-image: url(''); which will replace the bullet points to the icon image!
Hi!
There is a way to make the outer-container be center a few ways. I would also recommend that you use <main> tag in your code as it will make more sense!
The way I do it with a flexbox is simple: