Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JayLara Homework Submission -base #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jaylara
Copy link

@jaylara jaylara commented Sep 14, 2017

No description provided.

}

body {
width: 900px;

Choose a reason for hiding this comment

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

Setting the width with a hardcoded px value will make this site unresponsive. Try using margin or % instead.

h1 {
font-size: 65px;
padding: 0px;
margin: 10px 0px;

Choose a reason for hiding this comment

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

Whenever you are using 0 as a value you do not need to specify the units. 0px = 0% = 0.

margin: 10px 0px;
}

h1 a {

Choose a reason for hiding this comment

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

Watch your indentations!

color: #eae2de;
font-size: 40px;
padding: 0px;
margin: 70px 0px 10px 0px;

Choose a reason for hiding this comment

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

Shorthand way to write this is margin: 70px 0 10px.


img { width: 100%;}
article {
width: 850px;

Choose a reason for hiding this comment

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

Again, set the width with a % so that you are not limiting your site to break on a mobile device.

line-height: 26px;
}

article p::first-letter {

Choose a reason for hiding this comment

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

Nice!!

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