Header and Paragraph spacing

Tell us what’s happening:
Describe your issue in detail here.
I was marking up text then I realized there’s too much space between an

element and two

elements. How can I stop that from happening?

added the link
Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36

Challenge: Build a Technical Documentation Page

Link to the challenge:

A link to your pen will make it easier to help diagnose. Otherwise all anyone can do is guess.

I have added the link

I’m not clear as to what you’re asking here but some suggestions

  • Run your HTML code through the W3C validator.
    • There are HTML syntax errors you should be aware of and address.
    • Since copy/paste from codepen you can ignore the first warning and first two errors.

Side note, you’ve only used it once but do not use the <br> element to force line breaks or spacing. That’s what CSS is for.

1 Like

Have gotten the error using the validator. Forgot to close a tag. Thanks a lot!

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