Answer these Check for Understanding questions as you work through the assignments.
- What is HTML?
- What is an HTML element?
- What is an HTML attribute?
- What is the difference between a class and an id? When would you use one vs. the other?
- What HTML would you write to create a form for a new dog with a "name" and an "age"?
- What are semantic tags? When would you use them over a
div? - Explain what each of the following HTML tags do and when you would use them:
<h1>,<h2>, etc.<p><body><a>and thehrefattribute<img>and thesrcattribute<div><section><ul>,<ol>, and<li><form><input>
- What is CSS?
- What is a CSS selector? How do you use the ID selector? The class selector?
- What are the three ways to include CSS in your HTML documents? What are the pros and cons of each?
- What is the Box Model? Describe each component of the Box Model.
- What is a Database?
- What is SQL?
- What is SQLite3?
- What is a Table?
- What is a Primary Key?
- What is a Foreign Key?
- Explain what each of the following SQL commands do:
- insert
- select
- where
- order by
- inner join
- How can you limit which columns you select from a table?
- How can you limit which rows you select from a table?
- How can you give a selected column a different name in your output?
- How can you sort your output from a SQL statement?
- What is joining? When do you need to join?
- What is the purpose of using semantic HTML tags, such as
<header>,<main>, and<footer>, in the structure of the page? - How would you link an external CSS file to your HTML document? Provide the syntax and explain why linking a stylesheet is important.
- Explain what the
event.preventDefault()method does in the JavaScript code when handling form submission. - When using the
document.querySelectormethod in JavaScript, what is it selecting, and how can you target a specific class or ID within the HTML?