Coder Social home page Coder Social logo

lab-css-selectors's Introduction

CSS Selectors Lab

In this lab, you'll have the opportunity to design a personal webpage. The content already exists -- you just need to style it to the best of your ability!


Lab Setup

Getting started

  1. Fork and clone this repository.

  2. Navigate to the settings tab on GitHub, then choose Pages from the menu. Configure the Build and Deployment to have a Source of Deploy from a branch and select the main branch for deployment. Deployments can take a few minutes, so get started on the lab, and then be sure to check the deployment after you have made a few commits.

  3. Open up the repository in VSCode. Follow the instructions below to complete the Lab.

Instructions

To complete this lab, you will need replace the p selector to another selector that selects the correct element so that your page matches the example.

You are free to add additional class and id attributes to assist with selecting the correct element. Otherwise the HTML is complete and you do not need to add or remove elements.

Note: You will see rules that you have not yet learned and that's ok! Part of being a developer is learning through looking at other people's work and picking up what you don't yet know.

Hints

  • Look for rules for text elements like:

    • color
    • text-align
    • font-weight

To help you figure out if you are styling a text element.

  • Look for rules for list items like:
    • list-style

To help you figure out if you are styling elements related to lists.

  • Look for rules for box elements like:
    • margin
    • padding
    • box-shadow
    • width

To help you figure out if you are styling a box element

Once your complete with the above tasks, your page should look something like the image below.

Completed lab image.

Bonus

Replace the generic text in the index.html file to be about you.

lab-css-selectors's People

Contributors

krafalski 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.