Coder Social home page Coder Social logo

hw-w02d02-html-and-css-reps's Introduction

HTML & CSS Reps!

CSS Fun

Web developers are often asked to produce websites or web applications based on design specs, wireframes, or full mockups. Tonight we're going to get some practice writing HTML and CSS to recreate mockups. Help these companies style their dream websites!

Completion

Part 1. Part 2 is Bonus!

Part 1 - Brook&Lyn ๐Ÿ‘ฏ

  • The trendy clothing brand Brook&Lyn needs a new website and has asked you to build it for them!
  • In the brook_and_lyn_starter folder, a designer provided a file called mockup.png as your visual guide. Luckily, they are a cool client and allow for some "creative freedom." Don't worry if it's not a perfect match!
  • The client has provided the assets you'll need to build their site including images and stylesheets.
  • Write your HTML in index.html and your CSS in style.css.

Part 2 (BONUS) - eCardly ๐Ÿ’Œ

  • eCardly also needs a new website! But one of the devs on the engineering team already built out the HTML for you. How nice of him.
  • Your job is to use the screenshot-final.png to deliver the client a beautiful website.
  • Look at the provided index.html in the starter_ecardly folder and use that as a guide to target the elements you want to style.
  • All of your work goes in style.css in the starter_ecardly folder.
  • Make your CSS changes to style.css in the area between Base Style and Layout.
  • You do not need to change anything in normalize.css!!!
  • Here are some tips to get you started:

Body

  • The <body> should have a background of the background.jpg provided for you in the images folder. The image should repeat only going left and right. The rest of the page should have a background of #d6d6d6. (Hint: define the background image repeating in only one direction AND the background color on the same line).

  • The <body> has a default font of Helvetica with font size of 12px.

  • Define a line height for the body of 1.7. This gives every line of text .35 padding above and below it.

Links (<a> tags)

  • Links on the page should be red (#ff3300) and not be underlined.

Header Picture

  • The <h1> tag with the <a> tag inside of it should not be text but an image.

  • Set the background of the <a> tag within an <h1> to the logo.png.

  • Size its height and width appropriately to fit the full logo.

  • Have it display block. This will have this tag appear on its own line. (It is how we can make it appear here).

  • Center it.

<h2> + <a> tags

  • <h2>'s should have a font size of 20px. Also they should have a top and bottom margin of 10px, and no left and right margin.

  • links (<a> tags) inside of <h2>'s should be black and should not be underlined.

hw-w02d02-html-and-css-reps's People

Contributors

nawafi avatar trevorpreston avatar

Watchers

James Cloos 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.