Thich Naht Hanh Tribute Page

Thich Naht Hanh Tribute Page
0.0 0

#1

Hi all. Didn’t even realize this was here. My tribute page is linked below, any feedback is greatly appreciated. Thanks!

https://codepen.io/brucemwarren/pen/MrVObQ


#2

That’s awesome man. Simple and clean. I’m appreciate that you went with something you truly cared about.


#3

Hello @brucemwarren,

HTML

  • error

Element “style” not allowed as child of element “div” in this context. (Suppressing further errors from this subtree.)

From line 6 to line 9

<div class="col-xs-8 col-sm-12 col-md-12">
      <style>
        h1 {
          font-family: Macondo;
        }

        h4 {
          font-family: Shadows Into Light;
        }

MDN documentation:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style

The HTML element contains style information for a document, or part of a document. By default, the style instructions written inside that element are expected to be CSS.

Specification
https://www.w3.org/TR/html5/document-metadata.html#the-style-element

A style element should preferably be used in the head of the document. The use of style in the body of the document may cause restyling, trigger layout and/or cause repainting, and hence, should be used with care.


  • error

Text not allowed in element “ul” in this context.

From line 46 to line 46:

<li><strong>1976-7</strong>: Works to rescue the Vietnamese boat people in the Gulf of Siam, until barred by the nations of Thailand and Singapore.</li>
                  In the intervening years, Thich Naht Hanh worked to further establish his group, the Order of Interbeing, worldwide. The group holds retreats for monks and laypeople, including members of Congress.

MDN documentation:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul

Permitted content
zero or more <li> elements, eventually mixed with <ol> and <ul> elements.


  • error

End tag “h3” seen, but there were open elements (unclosed <small> element):

From 55 line to line 55:

<h3 class="text-center"><small>Thich Naht Hanh is the author of many books on his philosophy of engaged Buddhism, where the individual can make great changes in the world around them.         </h3>


  • error

Unclosed element “small”.

From 55 line to line 55:

<h3 class="text-center"><small>Thich Naht Hanh is the author of many books on his philosophy of engaged Buddhism, where the individual can make great changes in the world around them.         </h3>


  • error

Element “h4” not allowed as child of element “small” in this context. (Suppressing further errors from this subtree.)

From line 56 to line 56:

<h4 class="text-center">For more information on the life of Thich Naht Hanh, please visit the <a href="https://en.wikipedia.org/wiki/Th%C3%ADch_Nh%E1%BA%A5t_H%E1%BA%A1nh" target="blank">Thich Naht Hanh page</a> or the <a href="https://en.wikipedia.org/wiki/Plum_Village" target="blank">Plum Village page</a> on Wikipedia.</h4> 


  • error

Element “footer” not allowed as child of element “small” in this context. (Suppressing further errors from this subtree.)

From line 57 to line 57:

<footer class="text-center">Coded by Bruce Warren for <a href="https://www.freecodecamp.org/" target="blank">FreeCodeCamp</a> project.</footer>


cheers and happy codding :slight_smile:


#4

Thanks much! Where did you get the errors like that?


#5

You are welcome :smiley: .


#6

Excellent! I’ll take a look and see about getting those fixed. Looks like that “small” is the culprit for most. Thanks again.


#7

I just wanted to say “thanks” again. Used the tool and fixed the code…bunch of newbie stuff that I can see now. Really helpful, thanks! :smiley: