Skip to content

Hello2006-debug/dig245-css-self-portrait

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSS Self Portrait

view source

Work by past students

Introduction

Create a self-portrait using only HTML and CSS

Learning Objectives

Students who complete this assignment will be able to:

  • Recall the different values of the CSS position property and appropriate uses for each
  • Describe the CSS box model and its components
  • Compare methods for changing the color of web elements with CSS
  • Use HTML, CSS, JS to code a web page with a creative self-portrait
Preparation

Complete the following to prepare for this assignment. See Resources for additional information as needed.

Rubric See Moodle.

Concept

  • 📚 "View Source" (chapter 2) in Critical Web Design

Inspiration

See the Critical Web Design Index for examples tagged with #visual poetry or #color, including...

Design

  1. Start by looking at examples for inspiration
  2. Previsualize your layout by making sketches in Figma. Try placing an image of yourself and tracing it with the shape tool, choosing colors as you do.
  3. Experiment to find your own style!

Code

  1. Fork this repository and clone it to your machine.
  2. Use HTML, CSS, and JS to code your design inside index.html
  3. Use only hand-typed HTML and CSS for graphics; Do not add image or SVG files to the code. Do not use Figma to export code from your drawing.
  4. Create those elements with HTML <div> tags
  5. Use CSS properties to adjust the background-color, position, height, width, z-index, etc. of your elements
  6. Also consider the CSS transform property which lets you rotate, scale, skew, or translate elements
  7. Use Javascript to display the current mouse x,y positions on the page (this will help with your layout practice).
  8. Use Javascript to store and log the total number of HTML elements you used in your portrait using querySelectorAll().
  9. Add link(s) somewhere on the page to your original sketches in Figma.

Publish

  1. Save and refresh your work in the browser often to see your changes.
  2. Commit changes regularly.
  3. Confirm valid HTML and CSS (?)
  4. When finished, push, publish, and post all deliverables to Moodle per documentation in the Assignments.

Resources

Past examples

About

Create a self-portrait using only HTML and CSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 63.0%
  • HTML 26.3%
  • JavaScript 10.7%