Why is the h1 text not showing?

Tell us what’s happening:
Describe your issue in detail here.
I am currently making a product landing page and have applied text to an h1 tag. However, it is not showing up. I think it’s because of the header. When I try margin-top, the header goes down.


Your code so far

<section id="address">
  <h1>Handcrafted, home-made masterpieces</h1>
  <form id="form">
  <input type="email"
         placeholder="Enter your email address" required/>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36

Challenge: Build a Product Landing Page

Link to the challenge:

It is there. It’s underneath your navbar.
It’s usually easier to fulfill as many user stories as you can prior to styling. This way you’re not trying to make things fit.

Side note, you should not try and replicate the sample projects. They are just examples that show one way to complete the project.

1 Like

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