JSFiddle - React, Tailwind, and code Playground

by Lalji Tadhani

HTML

<script src="https://code.jquery.com/jquery-3.4.1.slim.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css">
<div class="row">
                <div style="margin: auto; margin-bottom: 20px; font-size: 12px; text-align: justify;">
                    <div class="custom-control custom-checkbox col-lg">
                        <input name="privacy" type="checkbox" class="custom-control-input" id="privacy" required>
                        <label class="custom-control-label" for="privacy">
                            I have read the <span><a class="privacy"
                                href="https://www.example.com">privacy policy</a></span>
                        and consent to the storage of my data in your archive as
                        established by the European regulation for the protection of personal data n. 679/2016,
                        GDPR.
                        </label>
                    </div>
                </div>
            </div>