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

Accelerate - Trish G. #9

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

Conversation

Trishthedish
Copy link

Not completely finished. I think my actual portfolio site will be built with something else. Turning this in despite it lacking portfolio section, and hobby or blog space.

Copy link

@anselrognlie anselrognlie 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!

The index and about pages are looking good. You have a reserved style across your site that works well, and would be amenable to all kinds of further development. Though I'd keep it subtle. The little touch of reducing the opacity of the main landing image is a nice touch and really helps soften the image.

There were a few minor validation issues, so be sure to check your source files against an HTML validator. This can be really useful for accessibility-focused attributes like the img alt attribute, which we might not otherwise notice is missing.

Your style is looking really clean, so just be careful as you add more content to make sure it stays that way, keeping shared style in style.css where possible and only overriding in per-page styles where necessary.

It would be great to see some of the repeated elements we'd expect to find in the portfolio or blog pages, so think a little bit about how you'd like those to look and flow.

Overall, you're off to a good start.

<main>
<h1>About</h1>
<section class="container">
<img id="about_pic" src="images/trish_photo.jpg">

Choose a reason for hiding this comment

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

Be sure to add alt attributes to your images. Running your markup through a validator can help catch this sort of issue.

@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>

Choose a reason for hiding this comment

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

It's recommended to include a lang attribute on the html tag. A validator can help catch this by reporting warnings.

</header>
<main>
<h1>About</h1>
<section class="container">

Choose a reason for hiding this comment

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

Since this section really seems to exist mostly as a place to attach style (for the flex layout), a div might be a more appropriate choice. section elements should usually contain a heading of some kind, and should be thought of a something that might make sense to list in a table of contents for the page.

Comment on lines +5 to +6
<link href="styles/style.css" rel="stylesheet">
<link href="styles/index.css" rel="stylesheet">

Choose a reason for hiding this comment

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

Nice use of a site-wide style sheet and a per-page stylesheet.

Comment on lines +13 to +15
<nav class="navbar">
<ul class="nav-links">
<li class="nav-item"><a href="index.html">Home</a></li>

Choose a reason for hiding this comment

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

Having a navbar class on the nav element feels redundant. And for the child elements, rather than applying a special nav-related class, you could write your selectors to look for ul or li elements that are descendants of a nav element.

font-size: 30px;
}

.nav-links {

Choose a reason for hiding this comment

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

Consider using nav > ul as the selector.

display: flex;
}

.nav-item a {

Choose a reason for hiding this comment

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

Consider using something like nav a as the selector.


.navbar {
background-color: #22BDA0;
display: flex;

Choose a reason for hiding this comment

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

Nice to see you going all-in on flex in your layout!

}

.nav-links {
list-style: none;

Choose a reason for hiding this comment

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

Great way to take the semantic notion of a list of links and remove the list default styling.

@@ -0,0 +1,11 @@
img {

Choose a reason for hiding this comment

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

Great to see how small the per-page stylesheet is. We want to have as much common styling as possible, and have the minimum necessary to override layout for particular pages.

Reginatam429 pushed a commit to Reginatam429/personal-portfolio-site that referenced this pull request Jul 6, 2021
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