Tribute Page to Abraham Lincoln

Tribute Page to Abraham Lincoln
0

#1

Hi everyone,

I would appreciate all feedback to my tribute page to Abraham Lincoln. I am a true newbie and beginner so advice is appreciated. Thanks!


#2

Hi @iheartcodingandcats,

CSS
This code is not correct (semicolons)

h2{
...
  padding: 20px; 10px; 0px; 10px    
}

MDN documentation:

Syntax
/* Apply to all four sides */
padding: 1em;

/* vertical | horizontal */
padding: 5% 10%;

/* top | horizontal | bottom */
padding: 1em 2em 2em;

/* top | right | bottom | left */
padding: 2px 1em 0 1em;

/* Global values */
padding: inherit;
padding: initial;
padding: unset;

HTML
This code is not correct (The <center> element is obsolete and should not be used.)

<center>  <-- here
<img src="https://www.whitehouse.gov/sites/whitehouse.gov/files/images/first-family/16_abraham_lincoln%5B1%5D.jpg" alt="Abraham Lincoln Picture" width="800" height="500" />
</center>

MDN documentation:

Deprecated
This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.

Cheers and happy coding :slight_smile: