Giter VIP home page Giter VIP logo

css-snippet-cheat-sheet's Introduction

Unit 02 Mini-Project: CSS Snippet Cheat Sheet

Visit the Deployed Site

In this activity, you will work with a group to build a webpage that will hold a collection of CSS snippets. What better way to learn CSS than to build a knowledge base of CSS?

Instructions

The completed application should meet the following criteria:

  • As a user, I can view a collection of labeled CSS snippets in a responsive grid.

  • As a user, I can easily identify these CSS snippets by their headings.

  • As a user, I can highlight a code snippet by clicking on it.

  • As a user, I can view my application on a mobile device as well as a desktop.

Specifications

  • Must use semantic HTML elements and proper indentation.

  • Use CSS variables to maintain clean and reusable values for a color scheme.

  • Use flexbox and media queries to create a responsive grid layout.

  • Each CSS snippet should have a card-like layout with the CSS syntax wrapped in an HTML pre element.

  • Each CSS snippet can easily be highlighted for copying on click using the CSS user-select property.

  • Must incorporate a background color using a CSS linear-gradient function.

  • Must incorporate a bit of animation using the CSS transition property.

  • You and your group can decide which CSS styles and colors you will use to design the application, but the app needs to be a responsive. Use the following images to gain an understanding of how the app should look at different screen sizes, from a layout perspective:

    • At size 992px and above, the app should resemble the following image:

      On a desktop, the application displays three CSS code snippets per row.

    • At size 768px and above, the app should resemble the following image:

      On a tablet, the application displays two CSS code snippets per row.

    • On mobile devices, anything under 768px, the app should resemble the following image:

      On a mobile device, the application displays one CSS code snippet per row.

๐Ÿ’ก Hints

  • The HTML <pre> element is very literal about spaces and indentation. To gain a better understanding of how to work with it, check out this article on considerations for styling the pre tag.

๐Ÿ† Bonus

  • Set this project up in your own GitHub repositories so that you can deploy and use it for future reference!

ยฉ 2022 Trilogy Education Services, LLC, a 2U, Inc. brand. Confidential and Proprietary. All Rights Reserved.

css-snippet-cheat-sheet's People

Contributors

mccoydidericksen avatar ashrean 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.