文件名称:前端技巧:前端开发的超小巧,快速的技巧,窍门和最佳实践
文件大小:1.25MB
文件格式:ZIP
更新时间:2024-03-23 22:37:04
javascript css html front-end best-practices
前端提示 前端开发的一系列超细微,快速的技巧,窍门和最佳实践。 该系列涵盖了不同的主题: CSS HTML JavaScript 打字稿 浏览器开发人员工具 在本地运行 克隆项目: $ git clone https://github.com/phuoc-ng/frontend-tips 安装依赖项: $ cd frontend-tips $ npm install 在本地运行: $ npm run serve 在控制台上查看“本地URL” 。 在浏览器中将其打开以查看其运行情况。 贡献 拉请求是受欢迎的。 要提交您喜欢的提示,请创建一个markdown文件,并将其放在文件夹中。 markdown文件的内容必须看起来像 --- title: ___ category: ___ date: ___ tags: - posts layout: layouts/post
【文件预览】:
frontend-tips-main
----.gitignore(58B)
----package.json(1KB)
----posts()
--------remove-a-property-from-an-object.md(587B)
--------merge-different-arrays.md(527B)
--------add-an-icon-to-external-links.md(2KB)
--------log-a-variable-to-the-console-using-conditional-breakpoints.md(1KB)
--------inspect-an-element-shown-on-hover.md(2KB)
--------get-rid-of-escaping-quotes-with-template-literal.md(503B)
--------format-a-number-as-a-currency-string.md(848B)
--------use-the-wbr-tags-to-represent-path.md(2KB)
--------use-negative-nth-child-and-nth-last-child.md(1KB)
--------override-the-behavior-of-instanceof.md(705B)
--------do-not-add-custom-methods-to-primitive-objects.md(612B)
--------make-a-table-with-equal-column-widths.md(2KB)
--------put-special-operators-at-the-beginning-of-a-function.md(1KB)
--------ignore-items-from-array-destructuring.md(808B)
--------style-broken-images.md(2KB)
--------use-an-underscore-to-name-unused-argument.md(521B)
--------create-an-autocomplete-list-with-the-datalist-element.md(1024B)
--------track-the-focused-element-with-chrome-devtools.md(850B)
--------create-a-download-link.md(906B)
--------wrap-arrow-function-body-in-parentheses.md(504B)
--------separate-list-items.md(896B)
--------reuse-the-current-color.md(1KB)
--------pass-an-array-as-function-arguments.md(1KB)
--------use-underscores-to-represent-a-number.md(311B)
--------manage-multiple-boolean-flags.md(4KB)
--------avoid-to-use-colons-and-periods-in-the-id-attribute.md(2KB)
--------swap-two-variables.md(470B)
--------use-string-literals-for-the-typescript-enum-values.md(1KB)
--------enforce-required-parameters.md(551B)
--------create-a-line-on-sides-heading.md(1KB)
--------always-pass-the-radix-to-parseint.md(879B)
--------find-scrollable-elements.md(831B)
--------use-the-strict-equality-operator-when-comparing-variables.md(797B)
--------pretty-format-json.md(835B)
--------accept-any-numbers-of-parameters.md(1KB)
--------visualize-elements-on-page-with-the-outline-style.md(1KB)
--------get-the-current-timestamp.md(587B)
--------format-a-list.md(561B)
--------log-a-value-to-the-console.md(910B)
--------return-an-object-in-an-arrow-function-quickly.md(561B)
--------indicate-img-elements-that-miss-alt-attribute.md(627B)
--------create-a-descending-list-of-numbered-items.md(1KB)
--------prevent-the-default-behavior-with-jquery-event-handler.md(1KB)
--------use-css-fallback-properties.md(1KB)
--------use-short-circuits-conditionals.md(847B)
--------remove-the-border-from-the-last-navigation-item.md(1KB)
--------use-template-literal-to-concatenate-strings.md(750B)
--------copy-a-long-variable-from-the-console.md(1KB)
--------log-a-variable-in-an-arrow-function.md(1KB)
--------check-if-the-browser-supports-for-an-element-attribute.md(1KB)
--------get-characters-of-a-string.md(856B)
--------prefix-class-name-with-js-to-manipulate-with-javascript.md(1KB)
--------filter-file-types-of-a-file-input.md(921B)
--------convert-string-to-number.md(313B)
--------show-a-placeholder-for-an-empty-list.md(882B)
--------trim-the-spaces-before-parsing-a-number.md(580B)
--------replace-multiple-if-statements-with-a-single-switch-statement.md(1KB)
--------prevent-a-string-from-being-escaped.md(723B)
--------set-content-for-an-empty-link.md(467B)
--------log-an-array-to-the-console.md(2KB)
--------conditional-logging-in-the-console.md(756B)
--------create-an-object-with-dynamic-keys.md(767B)
----.eleventyignore(77B)
----_includes()
--------layouts()
----LICENSE(1KB)
----css()
--------prism.css(2KB)
--------index.css(6KB)
----README.md(2KB)
----sitemap.xml.njk(325B)
----index.njk(14KB)
----img()
--------scrollable-overflow.png(75KB)
--------console-table-columns.png(73KB)
--------subtree-modifications.png(259KB)
--------log-conditional-breakpoints.png(79KB)
--------track-focused-element.png(269KB)
--------long-variable-in-console.png(99KB)
--------favicon.svg(4KB)
--------screenshot.png(79KB)
--------webhint-img.png(82KB)
--------console-table.png(239KB)
--------link.svg(436B)
----.eleventy.js(2KB)