Code Monkey home page Code Monkey logo

sp24-cse110-lab3's People

Contributors

camdynr avatar cheahfulnic avatar satyam19946 avatar

Watchers

 avatar

sp24-cse110-lab3's Issues

[TASKS] 3

  • Units /* units of measurement for sizing and spacing your elements */
    • Use 3 unique relative units total
    • Use 3 unique absolute units total
  • Box Model /* configure the containers that holds your HTML content */
    (“long” and “short” refer to longhand and shorthand syntax and should give the same results. They’re simply different ways to declare your style rules, use at least one of each syntax. You must use both long and short hand notations for each of the following: margin, padding, border)
    • Margin /* spacing between html elements */
      • Long (margin-top, margin-bottom, margin-left, margin-right)
      • Short (margin: )
      • Auto margins: margin: auto
    • Padding /* spacing within html elements */
      • Long (padding-top, padding-bottom, padding-left, padding-right)
      • Short (padding: )
    • Borders /* borders around html elements, hint: apply borders before testing out padding and margin to better understand the difference between the two */
    • border-style
    • border-color
    • border-width
    • border-radius
  • Text
    • color
    • text-decoration
    • text-align
  • Display
    • Experiment with these values: none, block, inline-block, inline. Include at least two of them in your page.
    • Apply these values to the display property
  • Sizing /* set the height and width for an element */
    • height
    • width
    • max-width
    • min-width
  • Position /* element positioning on the page */
    • 2 of the following values: static, relative, fixed, absolute, sticky
      • Apply these values to the position property

[TASKS] 4

  • Pseudo-class /* elements that exist in your document conditionally */
    • :hover
    • :active
  • Layouts
    • Flexbox /* allow your elements to lay themselves out automatically */
      • apply flex to the display property
      • Must have more than two children within the element that is using flexbox. Must use minimum three of the flexbox related attributes
    • Grid /* instantiate a grid for your layouts */
      • apply grid to the display property
      • Must have more than two children within the element that is using the grid. Must use a minimum of three of the grid related attributes
  • Responsiveness /* make your website friendly for multiple devices */
    • At least one query based on the screen width
      • Media Query
    • Check the DevTools in your browser! Make sure your site works and looks fine on the three main types of form factors (Very small screen (phone), tablet or smaller laptop, and desktop).
    • The layout of your page should automatically reflow when the size changes, meaning, we shouldn't have to pinch and zoom in a lot to read text, click buttons, etc.
  • Fonts /* pick varying font styles to make your text fun to read */
    • Include and use a 3rd party font. You can load the font in either your HTML or your CSS

[TASKS] 5

  • Class Selector (.class)
  • ID Selector (#id)
  • Universal Selector (*)
  • Element Selector (element)
  • Attribute Selector (e.g. [attribute=foo])
  • Pseudo-class Selector (e.g. p:hover)
  • Selector List (element, element) /* select multiple elements */
  • Combinators (you must use one of each) /* specify selections based on element positioning in the DOM tree */
    • Descendant Combinator (element element)
    • Child Combinator (element > element)
    • General sibling combinator (element ~ element)
    • Adjacent sibling combinator (element + element)
    • Combining Two Selectors (element.class)
  • New Selectors /Adopted in December 2023!/
    • :has() /You must use this selector. Click here for how to use. This is a new selector that was widely adopted in 2023./
    • Nested Selectors
      • Nested selectors are another type of selector that have recently been adopted in 2023. Here is some more information about this selector. Please also include at least one type of this selector in your CSS.

[TASKS] 1

  • Set up
  • Create custom labels
  • Create a custom issue template
  • Make a branch
  • Create a standup notes template in a Markdown file
  • Create new pull request and merge (closing the issue)

[TASKS] 2

  • Comment /* write down comments to make your css easier to read */
  • Color /* apply colors to your HTML elements */
    • rgb(r, g, b) or rgba(r, g, b, a) /* red, green, blue, alpha values */
    • #FFF or #FFFFFF /* hex codes */
    • hsl(h, s, l) or hsla(h, s, l, a) /* hue, saturation, lightness, alpha values */
    • Color name (i.e ‘orange’)
    • Wider-gamut color:
      • color(colorspace c1 c2 c3[ / A]) /* predefined color space, values for color space*/
      • color-mix(method, color1[ p1], color2[ p2]) /method to mix colors, values & percentages of color/
  • CSS Variables & Fallbacks
    • Show at least one example of using a CSS variable that also has a fallback.

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.