+ 1
My assigned styles from the css file isn't applied to the HTML file. Could anyone check and tell me what's the problem?
Here is the file link- https://code.sololearn.com/W91JJr4LXqhT/?ref=app
6 Réponses
+ 2
idk if this is what u want but the changes ive made are:
HTML:
you forogt a body, beggining html, and head tag.
CSS:
you spelled border wrong
code:
https://code.sololearn.com/WjEqSOc1lN8x/?ref=app
+ 1
Class enumerations are written with a space, not a dash.
+ 1
Solo Thanks. But I didn't really understand what you meant. Could you give an example?
+ 1
HTML:
<div id="BuyBtn" class="flex column center-h">
CSS:
.flex {display:flex;}
.column {flex-direction:column;}
.center-h {justify-content:center;}
+ 1
Thanks Solo
0
Your Mom Thanks for the corrections. But could you tell me how to center the text and buttons?