Code Monkey home page Code Monkey logo

dig245-css-self-portrait's Introduction

CSS Self Portrait

Create a self-portrait using only HTML and CSS

view source

Work by past students

Introduction

Practice previsualizing a layout using tools in Figma and translating the design into HTML CSS code using positioning, the box model, and z-index.

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
Points Description
10 The original drawing(s) in Figma are linked, creative, and reflect research into the subject.
10 The elements of the graphic are consistent throughout the page.
10 The portrait represents the student to some degree.
10 The HTML document uses correct structure, nesting, and syntax throughout.
10 The student expanded their knowledge on their own (e.g. experimented with new tags).
10 Javascript prompts (x,y, querySelectorAll) are working as instructed.
10 The content of the page follows parameters outlined in instructions.
10 All code is working as intended.
10 All code is valid and properly structured. No missing references or errors in the console.
10 The project is online, accessible, and linked from Moodle by the deadline.
100 Total possible

Assigment

Setup

Fork this repository and clone it to the critical-web-design folder on your machine.

Design

  1. Start by looking at examples for inspiration
  1. Previsualize your layout by making sketches in Figma. For example, try placing an image of yourself and tracing it with the shape tool, choosing colors as you do. (feel free to experiment an find your own method!)

Code

  1. Use HTML, CSS, and JS to code your design inside index.html
  2. 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.
  3. Create those elements with HTML <div> tags
  4. Use CSS properties to adjust the background-color, position, height, width, z-index, etc. of your elements
  5. Also consider the CSS transform property which lets you rotate, scale, skew, or translate elements
  6. Use Javascript to display the current mouse x,y positions on the page (this will help with your layout practice).
  7. Use Javascript to store and log the total number of HTML elements you used in your portrait using querySelectorAll().
  8. 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 your project

Resources

Past examples

Owen Drew Annelise Evan Anh Erina Caroline Mengfan

Katie Ted Lauren

Colson Connor Jacob Felicia

Scott Ashley Michele

dig245-css-self-portrait's People

Contributors

omundy avatar etgeorge 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.