Uh oh!
There was an error while loading. Please reload this page.
Add To Cart Button - #43
Conversation
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. |
megha070
commented
Jul 8, 2018
yes @0x48piraj !! |
There was a problem hiding this comment.
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 { | ||
| * | ||
| * |
| * | ||
| * | ||
| * | ||
| background-color: #e33812; font-size: 16px; |
There was a problem hiding this comment.
Could you place font-size to new line?
No description provided.