Tribute - looking for feedback please

Tribute - looking for feedback please
0

#1

Hi all,

I am very, very new to any sort of code so I apologise if there are glaring errors in my work. I have just completed my Tribute page and was wondering if anyone would be kind enough to have a look at it and give me some feedback on areas I can improve and, more likely, to identify any bad habits I might have.

Thanks all - the link is below, any and all feedback is greatly appreciated.


#2

Hi @Buxton880,

HTML inspector

  • The id ‘second-paragraph’ appears more than once in the document.
...
<p id="second-paragraph">
  Bartlet received a 1590 (ten points shy of a perfect 1600) on his SATs. After retaking the test ... </p> 
  <p id="second-paragraph">It is likely he won the Nobel Prize ... </p>
... 


MDN documentation:
 https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id

> The id global attribute defines a unique identifier (ID) which **must be unique in the whole document.**


  • ’ is not a valid attribute of the <a> element ( Barlet’’ )

<a href=‘https://en.wikipedia.org/wiki/Josiah_Bartlet’’>

Cheers and happy coding :slight_smile:


#3

Thanks for that bud, will try and not make the same mistakes in the future :slight_smile: