can some one help me parse this info out



  • can someone help me parse out

    • display name so it shows ikillall123
    • email so it shows [email protected]
    • donor rank so it shows none (or what ever is there)
    • store credits so it shows 0 (or what ever is there)
    <div class="card-body">
                            <div class="row mb-3">
                                <div class="col-md-6">
                                    <div class="account-info-block">
                                        <h3>Display name</h3>
                                        <h4>ikillall123</h4>
                                    </div>
                                </div>
    
                                <div class="col-md-6">
                                    <div class="account-info-block">
                                        <h3>Email</h3>
                                        <h4>[email protected]</h4>
                                    </div>
                                </div>
                            </div>
    
                            <div class="row mb-2">
                                <div class="col-md-6">
                                    <div class="account-info-block">
                                        <h3>Donator rank</h3>
                                        <h4>None</h4>
                                    </div>
                                </div>
    
                                <div class="col-md-6">
                                    <div class="account-info-block">
                            <h3>Store credits</h3>
                            <h4>0</h4>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    

  • Admin

    Use CSS selector, make multiple blocks, all with this selector div.card-body div div div h4 and attribute innerHTML and play with the index. Index 0 would be the name, index 1 the mail etc.


Log in to reply