05第三方API:工作日计划程序
你的任务
创建一个简单的日历应用程序,该应用程序允许用户通过修改启动程序代码来保存一天中每个小时的事件。 该应用程序将在浏览器中运行,并具有由jQuery支持的动态更新HTML和CSS。
您需要使用库来处理日期和时间。 确保仔细阅读文档,并专注于在浏览器中使用Moment.js。
用户故事
AS AN employee with a busy schedule
I WANT to add important events to a daily planner
已编译
建立时间 -in-JS。 烤好即可食用。
用法
import { styled , ClassNames } from ' compiled/react ' ;
// Tie styles to an element
;
// Create a component that ties styles to an element
const StyledButton = styled . button `
color : ${(props) => props.color};
`