"notice-js" is a lightweight web-based notification feature designed to provide users with a simple and effective top notification experience. The project consists of only one JavaScript file, with minimal code and easy integration, suitable for various web projects.
- Download the 
notice.jsfile and copy it to your project directory. - Include the JavaScript file in your HTML file:
 
<script src="notice.js"></script>- Call the following function where you want to display the notice:
The first parameter is required, while the second and third parameters are optional. The second parameter has four types to choose from
"info","success","error","warn"or"", and the third parameter is a time value in milliseconds. 
notice.open("hello")
notice.open("hello","info",3000)
notice.open("hello",3000)