Coder Social home page Coder Social logo

uicourse's Issues

Subscription form input

image

You need to add padding to the right and left edges of the input field so that the entered text isn't adherent to the box

Using different classes for the grid in categories layout

Why are you using grid__col-1, grid__col-2, grid__col-3, grid__col-4 ? none of them is unique and you aren't using them for styling. A class like col would be enough.

The grid itself has a problem:

.grid div {
    float: left;
    width: 295px;
}
  • You are using a fixed value ... better change it to 25%
  • You are targeting all the divs inside the .grid. The card has divs inside it so the same style is applied to them as well. The selector must be more specific, something like .grid > div would prevent that problem
  • The name is very generic. Better use a modifier so the grid's class be like <div class="grid grid--4-cols"> so that in the future if you have a 2 or 3 columns grid you can easily introduce that :)

The search isn't clickable

The search isn't clickable cause you are setting the width of the link to 0. Don't worry we didn't cover that yet. Keep that issue open till we discuss image replacement techniques

image

Using button instead of link

image

On the highlight section, you are using a button for the check new arrivals. Buttons are supposed to submit forms or triggering actions. This is a link that look like a button nothing more :)

Background shorthand

I noticed that on the select elements. You are missing a property of the the vertical position. You are only using right.

The proper declaration should be:

background: #color-if-exist url(..path-to-file) horizontal-position vertical-position repetition;

Example

background: #fff url(../images/image.png) 100% 50% no-repeat;

This way horizontally the image will be on the right(100%) and vertically centered(50%)

One thing also I want you to do is to stop using the keywords and use numerical values instead

Why using container class on every block

Why are you using container class on every block?

You can simply use a div called .container and wrap everything on the page inside it. Better than wrapping the header and the separator and the main content ... etc

Subscription form button

Why using input type="submit" when you can use button ?

This will simply make you able to target it with CSS using button { ... }

The tiles are using tables

I know we didn't discuss it yet. But keep that issue open till we discuss vertical aligning so that you change it later on to use CSS

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.