Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions noah-bibb.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
1. What is Semantic HTML?
is HTML markup that defines the meaning and the presentation and look of the page
2. What is HTML used for?
HTML is used to create electronic documents that are displayed on the World Wide Web.
3. What is an attribute and where do we put it?
Attributes define additional characteristics or properties of the element such as width and height of an image.
4. What is the h1 tag used for? How many times should I use it on a page?
it is the Main tag or headline of the Web page... Once
5. Name two tags that have required attributes
<a href> <img src>
6. What do we put in the head of our HTML document?
(document title, character set, styles, links, scripts),
7. What is an id?
The id attribute specifies a unique id for an HTML element
8. What elements can I add an id to?
<h1 id="myHeader">My Header</h1> for example
9. How many times can I use the same id on a page?
ID can only be used once in any document
10. What is a class?
The class is an attribute which specifies one or more class names for an HTML element.
11. What elements can I add a class to?
it can be used with any element
12. How many times can I use the same class on a page?
here is no limit
13. How do I get my link to open in a new tab?
add a target="_blank" attribute to your links
14. What is the alt attribute in the image tag used for?
The alt attribute provides alternative information for an image if a user for some reason cannot view it
15. How do I reference an id?
<h1 id="myHeader">My Counties</h1>
16. What is the difference between a section and a div
The section tag defines sections in a document like chapters, headers, footers whereas div tag defines a division in an HTML document.
17. What is CSS used for?
styling of the web page
18. How to we select an element? Example - every h2 on the page
h2{}
19. What is the difference between a class and an id? - Give me an example of when I might use each one
“id” is unique in a page and can only apply to at most one element, while “class” selector can apply to multiple elements
20. How do we select classes in CSS?
.class
21. How do we select a p element with a single class of “human””?
p human{}
22. What is a parent child selector? When would this be useful?
The "parent child" selector selects all elements that are a direct child of the specified element
23. How do you select all links within a div with the class of sidebar?

24. What is a pseudo selector?
A pseudo-class is a selector that selects elements that are in a specific state, they are the first element of their type.
25. What do we use the change the spacing between lines?
Use the line-height property in CSS to do so.
26. What do we use to change the spacing between letters?
letter-spacing: 2px
27. What do we use to to change everything to CAPITALS? lowercase? Capitalize?
text-transform:capitalize;
28. How do I add a 1px border around my div that is dotted and black?
div{
border: 1px dotted black;
}
29. How do I select everything on the page?
*{

}
30. How do I write a comment in CSS?
// like that
31. How do I find out what file I am in, when I am using the command line?
pmd
32. Using the command line - how do I see a list of files/folders in my current folder?
ls
33. How do I remove a file via the command line? Why do I have to be careful with this?
rm because it is permanent
34. Why should I use version control?
Version control is essential to track, organize and control changes over source code and avoid confusion, especially for large, fast-changing projects.
35. How often should I commit to github?
as often as you like
36. What is the command we would use to push our repo up to github?
git push
37. Walk me through Lambda's git flow.
Create YOUR OWN version of Repo, Add your TL as collaborator, clone your repo, create a branch, push your new branch to github, add your TL as a reviewer on the pull request.



Stretch Questions

1. What is the difference between an inline element and a block element?
2. What happens when an element is positioned absolutely?
3. How do I make an element take up only the amount of space it needs but also have the ability to give it a width?
4. Name 3 elements that are diplay block by default, 2 elements that are display inline by default and 1 element that is display inline-block by default
5. In your own words, explain the box model. What is the "fix" for the box model, in other words, how do we make all elements respect the width we've given them?