标签

 javascript 

相关的文章:

这是一个关于JavaScript的列表页,涵盖了控制流、安全赋值运算符、框架和库、编程范式、对象解构赋值、设计模式、Node.js与Express.js、类型转换、基础介绍等内容。

How to create a skeleton loading screen with Tailwind CSS and Javascript

原文英文,约100词,阅读约需1分钟。发表于:

It’s Monday, time to get to work! Today, we’re diving into creating a skeleton loading screen using JavaScript and Tailwind CSS. Feeling fancy yet? What is a skeleton loader? A skeleton...

本文介绍了使用JavaScript和Tailwind CSS创建骨架加载屏幕,提供更流畅和专业的用户体验。

How to create a skeleton loading screen with Tailwind CSS and Javascript
相关推荐 去reddit讨论

Validating Forms with JavaScript: Lessons from The Odin Project.

原文英文,约700词,阅读约需3分钟。发表于:

For the past 3 days, I've been working on client-side form validation with JavaScript. This project has significantly improved my JavaScript proficiency. Join me as I walk you through my journey,...

作者使用JavaScript进行客户端表单验证的经历,结合工厂函数、ES6模块、面向对象编程等概念,成功实现动态创建表单和元素的功能。项目关键特点包括表单验证、工厂函数和动态输入字段。未来改进方向包括修复bug、实现服务器端验证和改进用户界面。项目让作者深入了解JavaScript、DOM操作和Web开发的最佳实践。

Validating Forms with JavaScript: Lessons from The Odin Project.
相关推荐 去reddit讨论

NPM Package & CDN for Pagination in Javascript / Nodejs

原文英文,约500词,阅读约需2分钟。发表于:

Hello, I am someone who dislikes repetitive tasks, so to streamline the process of implementing pagination, I developed an npm package named paginationx for the backend use and a CDN for frontend...

这篇文章介绍了一个名为paginationx的npm包,用于后端使用,并提供了前端集成的CDN。这些工具简化了分页设置,节省了重复编写代码的时间。文章详细介绍了如何在Node.js后端和ejs模板前端中使用这些工具。

NPM Package & CDN for Pagination in Javascript / Nodejs
相关推荐 去reddit讨论

Interactive Solar System Exploration with CSS & JavaScript

原文英文,约300词,阅读约需1分钟。发表于:

This is a submission for Frontend Challenge v24.09.04, CSS Art: Space. Inspiration ✨ Today, I'm bringing to you an interactive solar system exploration project that brings the wonders of...

这是一个关于太空探索项目的提交,旨在以有趣和引人入胜的方式让用户了解行星和太阳系。作者成功创建了一个用户友好的界面,用户可以搜索行星并立即查看相关信息。作者计划在未来添加更多详细信息和可能的3D元素。

Interactive Solar System Exploration with CSS & JavaScript
相关推荐 去reddit讨论

JavaScript Notebook First Edition(Node.js)

原文英文,约500词,阅读约需2分钟。发表于:

When talking about Notebooks, Python users often think of Jupyter Notebook. Jupyter Notebook is a widely-used interactive computing environment with broad applications in data analysis,...

Jupyter Notebook是一个广泛应用于数据分析、可视化和机器学习的交互式计算环境。可以在Notebook中运行JavaScript代码,使用%%script node魔术命令执行。此方法简单实用,但存在一些限制。Jupyter Notebook还支持其他魔术命令,如%%js和%%javascript,可以在前端运行JavaScript代码。Notebook是一个以.ipynb扩展名的JSON文件,需要兼容的编辑器打开。

JavaScript Notebook First Edition(Node.js)
相关推荐 去reddit讨论

Day 68 / 100 Days of Code: Harnessing JavaScript’s Iterative Power

原文英文,约600词,阅读约需2分钟。发表于:

Fri, September 6, 2024 Hello everyone! 👋 In a display of JavaScript prowess, today's project of a grammar checker employs iterative methods like .forEach(), .map(), and .filter() to facilitate the...

这篇文章介绍了一个使用JavaScript编写的语法检查器项目。文章展示了JavaScript的迭代方法(如.forEach()、.map()和.filter())在数组的转换和遍历中的强大和简洁之处。文章首先将一个短故事字符串分割成单词数组,然后使用迭代方法进行拼写和语法检查。接下来,使用迭代方法更新故事,删除不必要的单词并进行拼写纠正。最后,进行了阅读易读性的检查,并进行了相应的替换。文章强调了干净可读的代码的重要性,以及迭代方法相对于传统循环的优势。

Day 68 / 100 Days of Code: Harnessing JavaScript’s Iterative Power
相关推荐 去reddit讨论

JavaScript: How it is done behind the scenes

原文英文,约900词,阅读约需4分钟。发表于:

When you look at a website, you might wonder "what is the reason that this was created and how was it created?" Well you can thank JavaScript for a majority of the click-clack features that are on...

JavaScript是创建网站功能的关键工具,本文讨论了JavaScript的三个主要支柱:操作DOM、识别事件和与服务器通信。作者分享了他们创建单页应用程序的经验,解释了如何开始使用JavaScript,并提供了他们的代码示例。作者还讨论了从API获取Chuck Norris笑话并在网页上显示的方法。他们提到在应用程序中实现了暗黑模式和搜索功能。总体而言,作者发现编码既有趣又具有挑战性。

JavaScript: How it is done behind the scenes
相关推荐 去reddit讨论

How can I remove a specific item from an array in JavaScript?

原文英文,约300词,阅读约需1分钟。发表于:

To remove a specific item from an array in JavaScript, you can use various methods. Here are some common approaches: 1. Using filter() The filter() method creates a new array that...

JavaScript中删除数组中特定项的方法有多种。常见的方法有:1. 使用filter()方法创建一个新数组,不包含特定项。2. 使用splice()方法根据索引直接删除特定项。3. 使用findIndex()和splice()方法根据条件删除对象。这些方法适用于简单数组和对象数组。

How can I remove a specific item from an array in JavaScript?
相关推荐 去reddit讨论

10 JavaScript Array Methods Every Developer Should Master (Part 1)

原文英文,约1300词,阅读约需5分钟。发表于:

"With great power comes great responsibility." — Uncle Ben, Spider-Man (2002) Just like Spider-Man had to master his newfound powers, developers need to master the powerful arrays methods of...

本文介绍了JavaScript中一些必须掌握的数组方法,包括find、findIndex、indexOf、sort、includes、forEach、slice、splice、every和some。这些方法可以帮助开发者高效地编写代码。

10 JavaScript Array Methods Every Developer Should Master (Part 1)
相关推荐 去reddit讨论

Look out, kids: PHP is the new JavaScript

原文英文,约2200词,阅读约需8分钟。发表于:

What would it take to switch back to PHP after years of full-stack JavaScript? A boy and his AI-enabled IDE set off to find out.

PHP has gained traction with the introduction of Laravel, which offers first-class support for web application features. The author explores Laravel and its positive impact on PHP's reputation. They are impressed by its ease of use and functionality, creating a dynamic video playback page using Mux Player. The author concludes that Laravel makes PHP fun again and encourages others to try it.

Look out, kids: PHP is the new JavaScript
相关推荐 去reddit讨论