# 实现消息提示组件
在浏览器页面中,通用的消息提示组件一般可以分为静态局部提示和动态全局提示,用于反馈用户需要关注的信息,使用频率较高。
## 实现
实现消息提示组件,动态全局提示,主要使用原生`JavaScript`实现,实现的代码基本都作了注释。
```html
Message
```
## 每日一题
```
https://github.com/WindrunnerMax/EveryDay
```
## 参考
```
https://element.eleme.cn/#/zh-CN/component/message
http://kmanong.top/kmn/qxw/form/article?id=62470&cate=52
https://jancat.github.io/post/2020/design-a-pair-of-general-message-prompt-components-alert-and-toast/
```