Skip to content

Instantly share code, notes, and snippets.

@abdulredd
Forked from mikedao/b2_intermission_work.md
Last active June 28, 2025 19:34
Show Gist options
  • Select an option

  • Save abdulredd/11e6dd967af11617f7a7f8c527b5fb76 to your computer and use it in GitHub Desktop.

Select an option

Save abdulredd/11e6dd967af11617f7a7f8c527b5fb76 to your computer and use it in GitHub Desktop.
B2 Intermission Work Submission

SE2 Intermission Work

Answer these Check for Understanding questions as you work through the assignments.

HTML

  1. What is HTML?
  2. What is an HTML element?
  3. What is an HTML attribute?
  4. What is the difference between a class and an id? When would you use one vs. the other?
  5. What HTML would you write to create a form for a new dog with a "name" and an "age"?
  6. What are semantic tags? When would you use them over a div?
  7. Explain what each of the following HTML tags do and when you would use them:
  • <h1>, <h2>, etc.
  • <p>
  • <body>
  • <a> and the href attribute
  • <img> and the src attribute
  • <div>
  • <section>
  • <ul>, <ol>, and <li>
  • <form>
  • <input>

CSS

  1. What is CSS?
  2. What is a CSS selector? How do you use the ID selector? The class selector?
  3. What are the three ways to include CSS in your HTML documents? What are the pros and cons of each?
  4. What is the Box Model? Describe each component of the Box Model.

SQL

Jumpstart Lab Tutorial

  1. What is a Database?
  2. What is SQL?
  3. What is SQLite3?
  4. What is a Table?
  5. What is a Primary Key?
  6. What is a Foreign Key?
  7. Explain what each of the following SQL commands do:
  • insert
  • select
  • where
  • order by
  • inner join

PG Exercises

  1. How can you limit which columns you select from a table?
  2. How can you limit which rows you select from a table?
  3. How can you give a selected column a different name in your output?
  4. How can you sort your output from a SQL statement?
  5. What is joining? When do you need to join?

Dog Party Tutorial: (Link should be added to form submission)

  1. What is the purpose of using semantic HTML tags, such as <header>, <main>, and <footer>, in the structure of the page?
  2. How would you link an external CSS file to your HTML document? Provide the syntax and explain why linking a stylesheet is important.
  3. Explain what the event.preventDefault() method does in the JavaScript code when handling form submission.
  4. When using the document.querySelector method in JavaScript, what is it selecting, and how can you target a specific class or ID within the HTML?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment