Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit df949b5

Browse files
committed
add frontend avoid issue
1 parent 3b26633 commit df949b5

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## JavaScript, React JS, Python, Flask, Php (Laravel) Code Snippets
22

3+
## Hacks
4+
- [Frontend](react-js/Frontend.md)
35
## JavaScript
46
- [JavaScript Form Validation](js/form-validation.js)
57
- [Select Single Checkbox](js/single-checkbox-selection.js)

‎react-js/Frontend.md‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
2+
# Avoid Css Hack [DO NOT USE]
3+
4+
- Example: `mt-5, mb-5, m` etc
5+
- Inline CSS
6+
7+
# Avoid Some HTML Tag
8+
9+
- Don’t place Block elements within Inline elements
10+
- Don’t use ` <b> <sup>` and `<i> ` for bolding and italicizing
11+
- Don’t use multiple line ` <br> ` breaks
12+
- Always use alt attribute for image tags
13+
- Never use ` <blink>` or `<marquee>`
14+
- Consider the source-order of the stylesheets
15+
- Use common css in a folder and for React also use index.css and load font int index.css
16+
- Reset styles globally ` ul, ol, li {list-style: none }; `
17+
- Just do better next time
18+
19+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /