HTML family confusion

I’m trying to share my code with you on here, but it doesn’t actually show what I am typing. Yes, I have already tried blockquote but that doesn’t work so here is a screenshot. In the image below, the parent element for h1 is the top-container div, correct? Or is it the body?

Hi @mcmichaeltyler93 !

Yes that is correct.

A parent is the element directly above an element in the document.

Here is another example:
The <ul> would be the parent of a <li>.

  <li>example 1</li>
  <li>example 2</li>
  <li>example 3</li>

You can use the preformatted text tool in the fcc editor or backticks on your computer.
Here is a helpful video and explanation for writing code into the forum.

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Hope that helps!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.