Conversation
|
|
||
| 5. Name two tags that have required attributes | ||
| href and img src | ||
|
|
|
|
||
| 6. What do we put in the head of our HTML document? | ||
| heading | ||
|
|
There was a problem hiding this comment.
headings go in the body (which is confusing just based on the words 'head' and 'heading') Can you think of other things that may go in the head?
| \ | ||
| 13. How do I get my link to open in a new tab? | ||
| add a blank to your a tag | ||
|
|
There was a problem hiding this comment.
blank is part of it, can you be more specific? (the actual attribute and value that you add to your <a> tag)
|
|
||
| 21. How do we select a p element with a single class of “human””? | ||
| .human | ||
|
|
There was a problem hiding this comment.
what if we had elements that were not p elements but had a class of .human?
|
|
||
| 23. How do you select all links within a div with the class of sidebar? | ||
| div.sidebar | ||
|
|
There was a problem hiding this comment.
div.sidebar would select the div.. how would you select the links inside as well?
|
|
||
| 27. What do we use to to change everything to CAPITALS? lowercase? Capitalize? | ||
| CAPITALS | ||
|
|
There was a problem hiding this comment.
can you specify the CSS property and value you would use to change the text to these cases?
|
|
||
| 30. How do I write a comment in CSS? | ||
| */ | ||
|
|
There was a problem hiding this comment.
don't forget the opening tag as well!
|
|
||
| 31. How do I find out what file I am in, when I am using the command line? | ||
| cd | ||
|
|
There was a problem hiding this comment.
cd is used to change directory - is there another command that comes to mind?
jskway
left a comment
There was a problem hiding this comment.
Good job overall! Could you take some time to go over the comments I left?
| an id creates a selector for CSS | ||
|
|
||
| 8. What elements can I add an id to? | ||
| any tags |
There was a problem hiding this comment.
Good catch, this can be a tricky one
|
|
||
| 16. What is the difference between a section and a div | ||
| they are just different ways to organize your code | ||
|
|
There was a problem hiding this comment.
How can their differences be defined in terms of semantics?
|
|
||
| 19. What is the difference between a class and an id? - Give me an example of when I might use each one | ||
| a class can be a selector for more than one element an id is just for one element specificly. Could use a class to group together mutiple paragraphs and style them. For and id you would use it for styling one element. | ||
|
|
There was a problem hiding this comment.
Great example of how you can use a class to style multiple paragraphs
No description provided.