Skip to content

Gregory poole1#1

Open
gregorypoole wants to merge 2 commits intomasterfrom
gregory-poole1
Open

Gregory poole1#1
gregorypoole wants to merge 2 commits intomasterfrom
gregory-poole1

Conversation

@gregorypoole
Copy link
Owner

No description provided.

@gregorypoole gregorypoole requested a review from jskway January 14, 2020 23:31

5. Name two tags that have required attributes
href and img src

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't forget the <a> :)


6. What do we put in the head of our HTML document?
heading

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Collaborator

@jskway jskway Jan 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?
*/

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cd is used to change directory - is there another command that comes to mind?

Copy link
Collaborator

@jskway jskway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great example of how you can use a class to style multiple paragraphs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants