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

Lion - Miranda #115

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Lion - Miranda #115

wants to merge 1 commit into from

Conversation

yxzhang88
Copy link

Personal Portfolio 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? Yes, frequently. Ay the beginning, I always use px or cm to defined the containers or the pictures. I have an extend display screen and it is much bigger than the macbook screen. The ratio looked was perfect in the bigger screen. However , the whole page was in a messy when I move the window to the macbook.
Why is it important to consider and use semantic HTML? Using semantic HTML will makes the code easier to understand, emphasis on HTML structure, moreover, the source code more readable for other developers and maintenance.
How did you decide to structure your CSS? Basically, the structure of the CSS base on how I constructer the HTML. I prefer follow the order of the selector in HTML to define the css.
What was the most challenging piece of this assignment? Spend a mount of time on searching, and always want it to be more perfect.
Describe one area that you gained more clarity on when completing this assignment Using % to define the images or the size of the containers or font or anything that will change the size when the adjust the window.
Optional
Did you deploy to GitHub Pages? If so, what is the URL to your website?
No.

Copy link

@nancy-harris nancy-harris left a comment

Choose a reason for hiding this comment

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

Personal Portfolio Site

What We're Looking For

Feature Feedback
Baseline
Appropriate Git Usage
Answered comprehension questions
Page fully loads
No broken links (regular or images)
Includes at least 3 pages and styling
HTML
Uses the high-level tags for organization: header, footer, main 😞 Only footers, no header or main
Appropriately using semantic tags: section, article, etc. 😞 Use section and article instead of div
All images include alternate text
CSS
Using class and ID names in style declarations 😞 Only uses class, no IDs
Style declarations are DRY Mostly
Uses Flexbox and/or Grid
Overall 👍

Comment on lines +12 to +16
<ul>
<a href="index.html" target="_top"> Home </a>
<a href="about.html" target="_top"> About </a>
<a href="portfolio.html" target="_top"> PROTFOLIO </a>
</ul>

Choose a reason for hiding this comment

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

When you have an unordered list (ul element), there must be list item (li) elements underneath before you can add things like links. So it should look like this:

<ul>
    <li><a href=......></li>
    <li><a href=......></li>
</ul>


<div class="project">
<div class="project_pic">
<a href="https://github.com/yxzhang88/personal-portfolio-site" target="_blank"> <img src="../assets/view.png" alt="viewing party" height="300px"> <button>Viewing Party</button> </a>

Choose a reason for hiding this comment

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

  1. The height attribute of the img element assumes it is pixels, so you should not add px at the end of the number. It causes an error in the HTML validator.
  2. The button element cannot be inside an a element. The a tag already makes it click-able, you do not need to say it is a button. This causes errors.
  3. The alt text for images should be more descriptive. People who are blind or have low vision depend on screen readers to tell them what is on the page. Screen readers use the alt text to explain to the user what the picture is about. Just saying "viewing party" does not explain to the user what the picture is about.

<div class="inner_container">
<div class="past">
<h1> The Past</h1>
<img class="surrounding1" src="../assets/past.jpeg" alt="miranda-selfie" width="35%">

Choose a reason for hiding this comment

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

The width attribute of the img tag is in pixels. You cannot use the % symbol, it causes errors.

As a new immigrants, in these 3 years, 'language' learning is priority in my life constantly. Not only study the English to communicate with people, also study the programming language and try to communicate with computers.
</p>
<p>
I'm a person who likes to continuously trying new things. As Jack in the Titanic said, <em><u>"I figure life's a gift and I don't intend on wasting it. You don't know what hand you're gonna get dealt next. You learn to take life as it comes at you. To make each day count".</em></u>

Choose a reason for hiding this comment

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

Generally, tags should open and close in order if they are right next to each other. Since em was opened first, it should close first. The ordering is causing errors.

padding: 0 10px 0 0;
}

.surrounding3 {

Choose a reason for hiding this comment

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

Since these properties are the same as .surrounding1, you do not need this one. Everything with .surrounding3 as the class can just use 1.

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