#(Code review) The Daily Dribble ⚽

2 messages · Page 1 of 1 (latest)

burnt moth
grave grove
#

I can see you went through previous code reviews. Everything thats usually missing (bc it hasn't been taught yet I believe) you have. The alt attr on the img, you wrapped the form element, used input[type=email] instead of text. One h1.

Nice job! Which means I have room to dig into your css.

You've declared text align:center on thr body which means it inherits down (ad most text and font-* properties do). So no need to redeclare on h1 or p.

You could use inheritance to declare color: #121212 on the body as well and then wouldn't need to declare everywhere. A fun trick is that border color default to the currentColor so if you want it the same color this border: 1px solid; is the same as

body {
  color: #121212;
}

img { border: 1px solid #121212;}

Also, h1 is display: block by default. (Same as div, h2-h6, p, section, article, etc).