Giter VIP home page Giter VIP logo

button-component's Introduction

Namaste 🙏 I'm Vikram ( Vicky ) from India

React.js, React Native Developer   vikramvingleshwar

vikramvi

4 Startup Experience

Startup Name Sold To Country
Playdom Disney India
6Wunderkinder Microsoft Deutschland
Noa NA Deutschland
Ruchkar Solapur NA India

Languages, Libraries and Tools:

html5   css3   javascript     typescript   react   reactnative

git   nginx   nodejs   mongodb   jenkins    docker   firebase  

 vikramvi

Top Langs

Connect with me:

vikramvingleshwar

Github

button-component's People

Contributors

vikramvi avatar

Watchers

 avatar  avatar

button-component's Issues

Review comments from Kironto

https://discord.com/channels/849667629785546782/850328283848376331/853667085389660160

Vikramvi

Positives:

  • Consistent CSS naming style
  • Readable CSS naming -> easy to understand and what they are for
  • Clean code, very easy to read and understand
  • Consistent code style
  • Good use of the pre tag! I didn't know you could use it to embed HTML
  • Helpful comments in files

Things You Can Improve On:

  • Button text is using the wrong font
  • Missing cusor: pointer on hover on buttons and links
  • Use variables for your colors, you can waste less time copy/pasting and just use a variable instead
  • Wrong color on focus, it's yellow instead of the color indicated in the design
  • Like Femi, a lot of div tag uses, please use more semantic HTML
  • Customizability:
    • the use of the buttonTheme is great, but I don't really understand what styles are being applied
    • you should be able to pass in a value (i.e color="primary")
      • many CSS libraries use this style, it makes it easier for the programmer to
        understand what styles are being applied to the button
      • the label for the button component should match the code inside your
        file. This way the programmer would know how to use the button component in their own code
  • Missing footer with your github link
  • Links in the sidebar are not bold
  • The links in the sidebar should be an unordered list (ul tag) not paragraphs

Some Tips:

  • Read up on semantic HTML, this will let you better understand which HTML tags you should use for different data

  • For a more responsive design, a lot of people recommend using em or rem instead of px

    • just something to think about
  • For widths and height, it's better to use percentages rather than pixels

    • There are many differen screen sizes, using percentages will let your website scale with their view height and width
  • When clearing something like a margin, you don't need to include the measurment unit

    Example:

      body {
        margin: 0;
      }
  • You forgot to change you project name in the README!

Approach for this project

https://codesandbox.io/s/react-buttons-and-tabs-6l1mr?from-embed=&file=/src/App.js

Also gained more confidence wrt design using plain 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.