ashwhi06 / sdai-ic-d1-html-elements-1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"final rendering for demo"

HTML Elements and Tags Lab 1

Description πŸ“„

This lab introduces you to the fundamental building blocks of HTML webpages. You'll experiment with creating a simple webpage structure and observe how basic code translates into visual elements on a web page.


Developer Objectives πŸ“‹

  1. File Navigation: Navigate to index.html.
  2. Boilerplate Generation: Use shortcuts to generate HTML boilerplate.
  3. Header Tag Insertion: Insert appropriate header tag based on its function.
  4. Paragraph Tags Insertion: Insert a paragraph tags with the given copy.

Setup Instructions for Codespaces πŸ› οΈ

Forking the Repository

  1. Click the Fork button at the top-right of the repository page to create a copy under your GitHub account. "github fork button"

Open Codespaces:

  1. Wait for the Code button to appear on your forked repository page. "github code button"
  2. Click the Code button and select Open with Codespaces. "codespace button example"

Starting the Development Server (Port)

  1. In the terminal, type the following command to start the server: npx serve . "terminal example for npx"
  2. When prompted, type y and press return / enter. "terminal example for npx"

Open the Webpage:

  1. Navigate to the Ports section where the terminal is. "VS code port tab"
  2. Click on the globe icon to open the webpage and render your code. "how to open port"

ToDo list βœ…

Attention: When you complete a task, put an x in the middle of the brackets to mark it off your ToDo list.

  1. Navigate to the index.html file.
  2. In line 1, type an exclamation point, wait to see the prompt, then hit enter.
  3. Inside the body tag, put the appropriate header tag for a main header with the copy: Hello World!
  4. Under that, put a paragraph tag under that and copy and paste: World, this is my first time coding!
  5. Write another paragraph tag under the previous and copy and pastethis copy: I'm ready to learn a lot!

🎊 Fantastic work! You just finished your first ever HTML coding demo. 🎊


Maintaining Your Codespaces βš™οΈ

You can only have 2 active Codespaces at a time in GitHub. Here are steps to show how you maintain them.

Locating your active codespaces in GitHub

  1. Locate the hamburger menu at the top left of the GitHub website and click it. "Hamburger button"
  2. Then click 'Codespaces' from options.

"codespace option"

  1. Using the three dot menu, you can manage, close, delete, etc. your codespaces there. πŸ›‘ Make sure to not use up your cores so keep track of them. πŸ›‘

ATTENTION

Solution codebase πŸ‘€

πŸ›‘ Only use this as a reference πŸ›‘

πŸ’Ύ Not something to copy and paste πŸ’Ύ

Note: This lab references a solution file located here (link not shown).

About