Frontend Code Conventions - bounswe/bounswe2022group5 GitHub Wiki

Variable Naming Conventions

  • For classes and file names PascalCasing is used.
  • For variables, and methods, camelCasing is used.
  • For HTML element names kebap-casing is used.

Page Design Conventions

  • For every web page, there are two files with .js and .css extensions.
  • The file path of each page must be under the App() function in the App.js file.

Layout Conventions

  • Only one statement on a line.
  • Only one declaration on a line.