Skip to content

Queues - Anna Barklund- Static-Site#36

Open
amb54 wants to merge 2 commits into
Ada-C7:masterfrom
amb54:master
Open

Queues - Anna Barklund- Static-Site#36
amb54 wants to merge 2 commits into
Ada-C7:masterfrom
amb54:master

Conversation

@amb54
Copy link
Copy Markdown

@amb54 amb54 commented Mar 20, 2017

Static Site

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
Did you have to resolve any issues when running the HTML Validator? If so, what were they? I had a warning. When using section the Validator wanted one to have a "title" (a h1 - - h6). I did not wanted to use that. Probably I need some more experience how to use the different blocks.
Why is it important to consider and use semantic HTML? Easier to organize an get an overview over the pages.
How did you decide to structure your CSS? I had one main.css that was for the index page but also included part that were general for all four pages. Additional to that I had a stylesheet for the pages portfolio, blog and about.
What was the most challenging piece of this assignment? It was daunting to create something that was supposed to be about myself. When I overcame that it was the css code that was most difficult.
Describe one area that you gained more clarity on when completing this assignment Using the css. I struggled with that during the week, but I start to get a hang of it : ).

amb54 added 2 commits March 17, 2017 12:32
…ml, main.css and normalize.css. Copied and pasted code into normalize.css. Set up index.html with links to the two css files.
Comment thread site/index.html
<header>
<a href="index.html">
<div>
<h3>amb</h3>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

element should be on the outside of the tag. It shouldn't need a div around it.

@PilgrimMemoirs
Copy link
Copy Markdown

PilgrimMemoirs commented Mar 21, 2017

Static Site

What We're Looking For

Feature Feedback
Baseline
Appropriate Git Usage ❗️ Need to commit more often
Answered comprehension questions Well Done - good to hear css is becoming easier!
Page fully loads Well Done
No broken links (regular or images) Well done
Includes at least 4 pages and styling Well Done
HTML
Uses the high-level tags for organization: header, footer, main Well Done
Appropriately using semantic tags: section, article, etc. Well Done
All images include alternate text Well Done
CSS
Using class and ID names in style declarations Well Done
Style declarations are DRY Mostly Good - some styles repeated often could be in their own rulesets with multiple selectors - ex: colors, display properties, position
Overall
Is there any benefit to having <div id = "portfolio_image2" class = "portfolio_image"></div> instead of loading the image with the <img> tag?
Looks like portfolio_article and portfolio_article have more layout styles added than needed. could use img tag instead, and the vertical align doesn't appear to be doing anything. The links are also not aligned to the correct sections. Could have an img also be a link, if using an img tag instead.
The site looks great and has a nice cohesive design. You may want to tweak the text on the porfolio page <p> tags - looks like it's either being cut off or it's really close to the edge of the box it's contained in.

Copy link
Copy Markdown

@Erin007 Erin007 left a comment

Choose a reason for hiding this comment

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

Nice job, Anna! Just a few little things to consider. Please let me know if you have any questions! Looks great.

Comment thread assets/styles/main.css
width: 100%;
top: 0px;
/* Marlin */
background-color: rgba(82,90,136, 1);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

If you're not changing opacity (which I see you've done elsewhere) you might opt for hex colors. It's usually not an issue, but some older versions of common browsers and more obscure browsers don't always support rgba.

Comment thread assets/styles/main.css
text-align: center;
vertical-align: middle;
height: 300px;
line-height: 256px;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Tuck away for future... Hard-coded pixel sizes can get tricky if you're trying to make a site responsive. But, for now, on desktop, it's lovely.

padding: 3%;
width: 100px;
height: 100px;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is there a reason you have blank lines in the css for .portfolio_image?

Comment thread site/about.html

<nav>
<ul>
<li><a href="portfolio.html"> porotfolio </a></li>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

check spelling of "portfolio" here

Comment thread site/about.html
<p id = "portfolio_text_1">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
</p>
<P>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

no need to capitalize your tags

Comment thread site/about.html
@@ -0,0 +1,50 @@
<!DOCTYPE html>
<html>
<head>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

head and body are within html, check indentation <--- watch out for this on other css files too

Comment thread site/blog.html
<li><a href="blog.html"> blog </a> </li>
<li><a href="about.html"> about </a></li>
<li><a href="#contact"> contact </a> </li>
</ul>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

it's a personal preference kind of thing, but maybe consider removing the link to the page the user is currently on from the header? I've seen it both ways just something to think about since you're not reusing the same header.
Also, stash away for the future the idea of partials - with rails etc you'll be able to reuse the same code for html consistent to multiple pages. Instead of repeating it like you do here.

Comment thread site/index.html
<h1>amb</h1>
</section>

<section class = "index_section1 section1">
Copy link
Copy Markdown

@Erin007 Erin007 Mar 25, 2017

Choose a reason for hiding this comment

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

index_section1 section1 seems redundant? If you need them both, think about naming specificity.

Comment thread site/index.html
</a>

<a href="about.html">
<article class = "index_article">
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Instead of using this class multiple times, you could give your main the class of "index" then do something like .index article in your css to target all of the articles on the index page. Same idea for your blog_article class and your portfolio_article class...

Comment thread site/portfolio.html
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
</p>
</div>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

empty line?

Comment thread assets/styles/main.css

.index_article {
/*position: relative;*/
display: inline-block;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks like display: inline-block is a good candidate for DRYing up your code per Jamie's feedback. How could you apply it to multiple classes rather than repeating?

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.

3 participants