why wont my link center?
I made the navbar centered, and i copied and modified the code to fit more with the button type and now it is stuck to the side.




display: inline-block; in .clickText class.grow class as the display property was already defined in the .clickText classdisplay property in the .grow class should have the value of blockjustify-content doesn't work unless the display is set as flex or grid. I think, vertical-align property is not needed too, as it doesn't really align it vertically




vh or vw units for sizing or anything else, they're not good for those things, instead, use rem.vh and vw units cause unexpected behaviour since there are devices with various widths and heights
vw
text-align:center; to the parent element, instead of setting it to each child element.vh and vw units, because just for this small problem, I had to struggle a lot to debug the problem as the layout changes caused drastic changes in sizes of the elements, which was very hard to read or clickvh or vw could be great for responsive font-sizes, when used with clamp()text-align:center; in that and remove everything which is commented in the above pic I've sent youjust create a class for the parent element and put text-align:center; in thathow?
div which contains the h1 and the a elements, and put the text-align property for that class inside the css file


