Coder Social home page Coder Social logo

comments-css-challenge's Introduction

Comments Section CSS Challenge

Your challenge is to build out this comments section in HTML and CSS and get it looking as close to the design as possible:

Design preview for the Interactive comments section coding challenge

Pay especially careful attention to margin and padding, and to alignment. The app should cohesive, but not claustrophobic.

See ./design/desktop-design.jpg. Icons and images are located in ./images/.

Note that SVG images can be used just like any other image, eg:

<img alt="edit" src="./images/icon-edit.svg" />

Style Guide

Active states

To see how various elements change style when you click/hover/interact with them, see ./design/active-states.jpg.

For base mode buttons should have hover and active styles. Any interactivity (eg, clicking Reply opens a form) is a stretch goal.

Colors

You can reference these colors in your CSS, eg:

.someElement {
    color: hsl(238, 40%, 52%);

    /* or */
    background-color: hsl(239, 57%, 85%);

    /* or */
    border: 1px solid hsl(211, 10%, 45%);
}

Primary

  • Moderate blue: hsl(238, 40%, 52%)
  • Soft Red: hsl(358, 79%, 66%)
  • Light grayish blue: hsl(239, 57%, 85%)
  • Pale red: hsl(357, 100%, 86%)

Neutral

  • Dark blue: hsl(212, 24%, 26%)
  • Grayish Blue: hsl(211, 10%, 45%)
  • Light gray: hsl(223, 19%, 93%)
  • Very light gray: hsl(228, 33%, 97%)
  • White: hsl(0, 0%, 100%)

Typography

Body Copy

  • Font size (paragraph): 16px

Font

The font is already setup in your index.html. Example usage:

.someElement {
    font-family: 'Rubik', sans-serif;
}

Attribution

Challenge adapted from Frontend Mentor.

Frontend Mentor challenges help you improve your coding skills by building realistic projects.

If you would like the design files (we provide Sketch & Figma versions) to inspect the design in more detail, you can subscribe as a PRO member.

Want some support on the challenge? Join our Slack community and ask questions in the #help channel.

comments-css-challenge's People

Contributors

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