Back to Setup Page

Modifying the HTML

Tour the Existing Code

  • Elements that live inside of the body tags will be displayed on the page (lines 12-38)

Explore to Learn:

  • Where do you see the text displayed in the browser reflected in the code?
  • What is the purpose of the <strong> tag?
  • What is the purpose of the <br> tag? Try removing it and see if you can figure out why it’s there!
  • What organizational structures do you notice?

Modify the Existing Code

Now that we're getting to know HTML and this specific project a bit better, let's modify it!

  • Add two more single questions, each with a question title and question text.
  • Decide what content you would like for your FAQ page. If you're not feeling creative, try using these words added to the dictionary in 2021:
    • Bubble: a usually small group of people (such as family members, friends, coworkers, or classmates) who regularly interact closely with one another but with few or no others in order to minimize exposure and reduce the transmission of infection during an outbreak of a contagious disease
    • Flex: an act of bragging or showing off
    • Crowdfunding: the practice of obtaining needed funding (as for a new business) by soliciting contributions from a large number of people especially from the online community

If you would like to check your work at this point, you can compare with this replit.

HTML Summary

  • Elements that live inside of the body tags will be displayed on the page
  • The number of elements and the content inside of the elements in the HTML file usually have a 1-1 correlation with what we see in the browser

Next Section: CSS