This project is a web interface based on the Devneya library, which is specifically designed for code generation. The purpose of this project is to provide a user-friendly platform that allows users to generate code snippets or blocks based on their specific requirements. The implementation includes a cookie code functionality, which dynamically adds a form to the HTML page for user interaction.
Here is an example of the service integration at jsden.dev playground:
To use the Cookie Code functionality in your project, follow the steps below:
- Include the following code to your your HTML file:
<div class="cookie-code-container"></div> <button class="cookie-code-popup-button">Cookie Code</button> <script src="https://cdn.jsdelivr.net/gh/get-zen-dev/Devneya@latest/assets/js/cookie-code.js"></script>
- Include the CSS file in your HTML file:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/get-zen-dev/Devneya@latest/assets/css/cookie-code-style.css">
Once the Cookie Code implementation is added to your HTML file, the following behavior will occur:
- A button with the class
"cookie-code-popup-button"
will be displayed on the page. - When you click on the button, a form will be displayed that will allow you to send a request and copy the received code.