Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add To Cart Button #43

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

megha070
Copy link

@megha070 megha070 commented Jul 4, 2018

No description provided.

@vercel
Copy link

vercel bot commented Jul 4, 2018

Since this Pull Request originated from a forked repository, Now cannot deploy it as there are potential security risks.

If you are a collaborator on this repository, consider making this Pull Request from a branch on the same repository instead of a fork.

Copy link
Member

@0x48piraj 0x48piraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you still working on this?

@megha070
Copy link
Author

megha070 commented Jul 8, 2018

yes @0x48piraj !!
Will try to do it by today itself.

Copy link
Collaborator

@bogas04 bogas04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you rename file as AddToCart and change class name to the same? This type of casing is called capitalized camel casing.

  • camelCase (for variable names, methods, functions)
  • CapCase (for ClassNames)
  • CAPITALIZED_SNAKE_CASE (for constants)
  • snake_case (not recommended in Java/JavaScript however quite popular in PHP/Python/C).

Also please use prettier to fix formatting issues. You can install the extension in VSCode as mentioned in project README.md file. Let us know if you face difficulties.

<style jsx>{`
button {
*
*
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are these *s for?

*
*
*
background-color: #e33812; font-size: 16px;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you place font-size to new line?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants