Vladimir Putin tribute page. Let`s discuss

Give me feedback about my first page - https://codepen.io/realgord88/pen/goEERr :slight_smile:

Hello @realgord88,

HTML

  • error

Element β€œli” not allowed as child of element β€œdiv” in this context. (Suppressing further errors from this subtree.)

From line 14, to line 22:

<div class="col-md-6 col-md-offset-3">
        <h2>Here's a timeline of Vladimir Putin:</h2>
       <li><b>1952</b> β€” Born on 7 October in Saint Petersburg.</li>
       <li><b>1975</b> β€” Putin joined the KGB.</li>
       <li><b>1990</b> β€” Saint Petersburg administration. In May 1990, Putin was appointed as an advisor on international affairs to Mayor Sobchak.</li>
       <li><b>1996</b> β€” Early Moscow career.</li>
       <li><b>1999</b> β€” First premiership. On 9 August 1999, Putin was appointed one of three First Deputy Prime Ministers, and later on that day was appointed acting Prime Minister of the Government of the Russian Federation by President Yeltsin.</li>
       <li><b>2000</b> β€” First presidential term. The inauguration of President Putin occurred on 7 May 2000.</li>
       <li><b>2004</b> β€” Second presidential term. On 14 March 2004, Putin was elected to the presidency for a second term, receiving 71% of the vote.</li>
       <li><b>2008</b> β€” Second premiership. Putin was barred from a third term by the Constitution. First Deputy Prime Minister Dmitry Medvedev was elected his successor.</li>
       <li><b>2012</b> β€” Third presidential term. On 24 September 2011, while speaking at the United Russia party congress, Medvedev announced that he would recommend the party nominate Putin as its presidential candidate.</li>

MDN documentation:
<li>: The List Item element - HTML: HyperText Markup Language | MDN

  • The <li> element cannot be a child of the <div> element.

The HTML <li> element is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.

Permitted parents: An <ul>, <ol>, or <menu> element. Though not a conforming usage, the obsolete <dir> can also be a parent.

cheers and happy codding :slight_smile:

1 Like

I fixed it :wink: Thank you

1 Like