11Express.js:记录者
描述
这是一个易于使用的记事本应用程序,可让您发布,保存和删除记事本。
目录
用户故事
AS A small business owner
I WANT to be able to write and save notes
SO THAT I can organize my thoughts and keep track of tasks I need to complete
用法
内置
| html | css | javascr ipt |引导程序| nod
请参阅以获取此工作坊产生的资产
文档更新
文档是由antora生成的。要在本地更改和构建文档,在Visual Studio Code远程开发容器中运行项目后,可以在终端中运行以下命令
# NOTE: npm install command is only necessary the first time you run this
npm install
gulp
这将运行一个javascr ipt流程,该流程将根据构建文档,将其托管在本地,并查看相关目录,以便您可以实时查看更改。
文档文件位于$
小组项目-注释
单页前端香草javascr ipt应用程序,用于做笔记。
项目挑战
创建仅使用单个页面的Web应用程序。
为此,无需使用任何外部库,例如jQuery或Jasmine。
以TDD方式开发应用程序。
用户故事
As a programmer
I can see a list of my notes, where each note is abbreviated to the first 20 characters
So I can find the one I want
As a
简要参考Javascr ipt
Javascr ipt编程语言的简要参考。
在控制台上打印日志
console.log("This is a log message");
通过他们的ID获取元素
var el = document.getElementById("the-element-id");
将事件侦听器添加到元素
var p = document.getElementById("element-id");
p.addEventListener("click", function(eve
类名
一个简单Javascr ipt实用程序,用于有条件地将className连接在一起。
使用 , 或:
# via npm
npm install classnames
# via Bower
bower install classnames
# or Yarn (note that it will automatically save the package to your `dependencies` in `package.json`)
yarn add classnames