Code Monkey home page Code Monkey logo

portfolio_website's Introduction

Portfolio_Website

This is an assignment from my Web design courses. I took advantages of the assignment to make a website which can be use as my portfolio in the future.

  • Author: William Huynh
  • Description: I used this assignment to created a website as a portfolio, and a blog to express my interest.

  • Three webpages I choose to modify and style are:
  • index.html
  • portfolio.html
  • flightsim.html
  • The other two website: photography.html, music.html are left behind so I can do it in the future.

  • Code documentation and assignment required features's location:

    Features that are the same for all three webspages and css files***

  • index.html line 10->90, index.css line 53->55: Put the body of the webpage into a div block to style its background color in css
  • portfolio.html line 9->136, portfolio.css line 42->44: Put the body of the webpage into a div block to style its background color in css
  • flightsim.html line 9->92, flightsim.css line 64->66: Put the body of the webpage into a div block to style its background color in css

CSS Funtions:

  • h1: align the header center, its all around margin is 0px and all around padding is 30px.

  • h2: add color blue to all header in tag h2.

  • a: add color to URL text.

  • nav: used the navigation bar as a flex items, items will wrap normally, each item gap is 50px, the content is in the middle with padding. Its border will be on the top and bottom.

  • main: main content of the webpage will have paddings on left right and margin on top bottom. Depend on the webpage, there will be small modification to either margin or padding, but overall function is the same

  • footer: add padding and margin to the bottom of the webpages.

  • p, footer > a: define font family for these tag will be sans-serif, with each line height is 25px.

  • body: add margin to left and right, background color, and color of the text in the body.

  • #content: add background color to the content div block.

  • ::selection: this is a pseudo element, it will be mention again in the pseudo section, main purpose is to change the background color when user select texts.

  • [target="_blank"]:hover: when hover cursor over URL that will open in a new tab, change color.

      *************************** index.css ******************************
    
  • table, tr, td, th line 37: add font sans-serif, add collapse border with solid color to the table and its element.

  • th, td line 42: align text left and add padding.

      *************************** portfolio.css ******************************
    
  • h2 + h3 line 54: any header h3 after h2 and have the same parent, add top border to h3 and padding on top.

  • h2 ~ ol line 59: any ol tag that is adjacent to h2 and have the same parent, add border on top.

  • h2 + ul line 63: any unordered list ul after h2 and have the same parent, add top border above ul and padding on top.

      *************************** flightsim.css ******************************
    
  • h3 ~ p line 41: any p tag that is adjacent to h3 and have the same parent, add margin all around

  • *.photos line 82: all content in class photos is display in grid, which will has 3 columns, gap and padding

  • img line 89: each image will have rounded border, width and heigth is 100%, add padding on top and margin on the bottom.

  • video line 97: each video will have rounded border, width and heigth is 100%, and margin on the bottom.

  • iframe line 104: each embeddeed youtube video will have rounded border and width of 100%.

  • ol line 109: the ordered list will have padding on left and right.

  • li line 114: each element of list will have padding on the bottom.


  • Selectors location:
  • Universal: line 82 in flightsim.css
  • Multiple: line 37 in index.css
  • Child: line 32 in flightsimm.css
  • Sibling: line 59 in portfolio.css
  • Adjacent Sibling: line 63 in portfolio.css
  • Pseudo-element: line 65 in index.css

  • In all html file, in the footer section, I included links to my Facebook, Instagram, and my Youtube channel video
  • All photos in this assignment is my work.
  • Flight sim videos in this assignment is my work, not the music video, the music citation is below

Citation:

portfolio_website's People

Contributors

williamhuynh192 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.