Jquery ui widget implementation instead of just jquery code

I have code that performs the function of interactivity. When you click on the checkbox, the block is cloned and added to another block. Here is an example on codepen: https://codepen.io/annbin/pen/VwYRerL Now I am using code that does not match coding standart magento 2. Please help rewrite my logic using jquery ui widgets https://learn.jquery.com/jquery-ui/widget-factory/ I…

Redirect from controller to html page with hidden input fields

I am facing an issue regarding redirects from controller. In my controller I will call an API and get response, in that response I received a form with inputs as hidden <FORM action=”some external url” method=”POST” id=”##” name=”##”> <input type=”hidden” name=”##” value=”####”> </FORM > I need to redirect to this form from controller, How can…

Magento 2.3.x: How can customise tax rules for different stores for common country

I need, Multiple stores have a common country (i.e. united states and country states* should be all) then different tax rules for all stores. I create Two different stores US and US1 for the common country (i.e. united states) https://i.stack.imgur.com/S3X1I.png. Then create two different tax rules (i.e. US-tax rule and US1-tax rule) for both stores.…