跳至内容

燕鸥博客

  • 首页
  • 燕鸥监控
  • 30秒学会代码片段
    • 30秒学会 Angular 片段
    • 30秒学会 C# 片段
    • 30秒学会 CSS 片段
    • 30秒学会 Dart 片段
    • 30秒学会 Golang 片段
    • 30秒学会 JavaScript 片段
    • 30秒学会 PHP 片段
    • 30秒学会 Python 片段
    • 30秒学会 React 片段
    • 30秒面试问题
    • 30秒看不完系列
  • CSS技巧
  • 关于我们

标签

algorithm Angular animation array browser C# class collection components CSS Dart date dictionary effect event function generator Golang hooks input interactivity JavaScript lambda layout list math node object PHP promise Python random React recursion regexp state string tips type utility visual 代码片段 入门 进阶 高级
    2022年10月23日

    30秒学会 JavaScript 片段 – Hash string into number

    Hashes the input string into a whole number. Use String.prototype.split() and Array.prototype.reduce...

    进一步了解
    • 30秒学会 JavaScript 片段
    2022年10月16日

    30秒学会 CSS 片段 – Style links with no text

    Displays the link URL for links with no text. Use the :empty pseudo-class to select links with no te...

    进一步了解
    • 30秒学会 CSS 片段
    2022年10月15日

    30秒学会 JavaScript 片段 – Common regular expressions

    Exact string match Use the ^ and $ anchors to match the start and end of the string, respectively. A...

    进一步了解
    • 30秒学会 JavaScript 片段
    2022年10月14日

    30秒学会 JavaScript 片段 – How can I use JavaScript to reload the page?

    The short answer Most often than not, window.location.reload() is all you need to reload the current...

    进一步了解
    • 30秒学会 JavaScript 片段
    2022年10月13日

    30秒学会 JavaScript 片段 – Replace last occurrence in string

    Replaces the last occurrence of a pattern in a string. Use typeof to determine if pattern is a strin...

    进一步了解
    • 30秒学会 JavaScript 片段
    2022年10月9日

    30秒学会 CSS 片段 – Shake on invalid input

    Creates a shake animation on invalid input. Use the pattern attribute to define the regular expressi...

    进一步了解
    • 30秒学会 CSS 片段
    2022年10月9日

    30秒学会 React 片段 – React useOnWindowResize hook

    Executes a callback whenever the window is resized. Use the useRef() hook to create a variable, list...

    进一步了解
    • 30秒学会 React 片段
    2022年10月8日

    30秒学会 JavaScript 片段 – How do I merge two arrays in JavaScript?

    Spread operator The spread operator (…) was introduced in ES6 and can be used to merge two or more...

    进一步了解
    • 30秒学会 JavaScript 片段
    2022年10月6日

    30秒学会 Python 片段 – List is contained in other list

    Checks if the elements of the first list are contained in the second one regardless of order. Use co...

    进一步了解
    • 30秒学会 Python 片段
    2022年10月5日

    30秒学会 Python 片段 – String to slug

    Converts a string to a URL-friendly slug. Use str.lower() and str.strip() to normalize the input str...

    进一步了解
    • 30秒学会 Python 片段
    第 42 页,共 154 页« 最新«...102030...4041424344...506070...»最旧 »

    燕鸥博客 © 2025. 版权所有。

    自豪地采用 WordPress. 主题设计 Alx.