@extends('layouts.app')
@section('metades')
    <meta name="description" content="Grammer Test Education - An Education Website" />
    <meta name="author" content="Grammer Test Education" />
    <meta name="keywords" content="grammer,test,education" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
@endsection
@section('title')
    <title>{{ucwords(str_replace('-',' ',$page))}} / Smart Education</title>
@endsection
@section('css')
    <link rel="stylesheet" href="{{ asset('css/test-subject.css') }}" />
@endsection
@section('content')
    <section class="Intro-Details">
        <h1 class="Highlight">This is a <span>English Grammer</span> Test</h1>
        <div>
            <p><span class="Medium Orange">No. Of Questions</span> : 12</p>
            <p><span class="Medium Orange">Time</span> : 12 Minutes</p>
        </div>
        <div class="Mobile-Only">
            <div>
                <a class="Login" href="{{ url('/') }}">Login/Register</a>
            </div>
            <div>
                <a href="{{ url('/') }}"><img src="{{ asset('assets/image/common/Facebook.png') }}" alt="Facebook" loading="lazy" /></a>
                <a href="{{ url('/') }}"><img src="{{ asset('assets/image/common/Instagram-02.png') }}" alt="Instagram" loading="lazy" /></a>
                <a href="{{ url('/') }}"><img src="{{ asset('assets/image/common/YouTube.png') }}" alt="YouTube" loading="lazy" /></a>
            </div>
        </div>
    </section>
    <section class="Intro-Contact">
        <div class="Mobile">
            <img src="{{ asset('assets/image/intro/Mobile.png') }}" alt="Mobile" loading="lazy" />
            <p>(+91) 9932053428 <br> (+91) 9832153428</p>
        </div>
        <div class="Email">
            <img src="{{ asset('assets/image/intro/Email.png') }}" alt="Email" loading="lazy" />
            <p><span class="Black Medium">Email</span><br> director@smarteducation.org.in</p>
        </div>
    </section>
    <section class="Test-Subject-Wrapper">
        <div class="Heading">
            <h1>Take A Test</h1>
            <p>Find Out Your Potential</p>
        </div>
        <div class="Test-Subject">
            <div class="Intro">
                <div class="Feature-Image">
                    <img src="{{ asset('assets/image/test/Grammer-Test.jpg') }}" alt="Subject Test" />
                </div>
                <div class="User-Details">
                    <h4 class="Title Medium">Please Fill The Details For Certificate</h4>
                    <div class="Input">
                        <h5>Your Name</h5>
                        <input type="text" id="callback-name" name="name" required>
                    </div>
                    <div class="Input">
                        <h5>Mobile Number</h5>
                        <input type="text" id="callback-mobile" name="mobile" required>
                    </div>
                    <div class="Input">
                        <h5>Email Address</h5>
                        <input type="email" id="callback-email" name="email" required>
                    </div>
                </div>
            </div>
            <div class="Test-Material">
                <h4 class="Instruction">
                    <span class="Title Orange">Instructions</span>
                    During the test please do not refresh the page, otherwise all your progress will be erased.<br>
                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
                </h4>
                <div class="Heading">
                    <h1>Test Starts Here</h1>
                    <p>Best Of Luck</p>
                </div>
                <div class="Information">
                    <h4>
                        <span class="Title">What is Lorem Ipsum?</span>
                        Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
                        <span class="Gap"></span>
                        <span class="Title">Where does it come from?</span>
                        Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
                    </h4>
                </div>
                <form class="Questions" action="" method="POST">
                    <div class="Item">
                        <p>1. 1st Question Starts Here</p>
                        <div class="Options">
                            <div>
                                <input type="radio" name="1" value="1st Value">
                                <label>1st Option</label>
                            </div>
                            <div>
                                <input type="radio" name="1" value="2nd Value">
                                <label>2nd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="1" value="3rd Value">
                                <label>3rd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="1" value="4th Value">
                                <label>4th Option</label>
                            </div>
                        </div>
                    </div>
                    <div class="Item">
                        <p>2. 2nd Question Starts Here</p>
                        <div class="Options">
                            <div>
                                <input type="radio" name="2" value="1st Value">
                                <label>1st Option</label>
                            </div>
                            <div>
                                <input type="radio" name="2" value="2nd Value">
                                <label>2nd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="2" value="3rd Value">
                                <label>3rd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="2" value="4th Value">
                                <label>4th Option</label>
                            </div>
                        </div>
                    </div>
                    <div class="Item">
                        <p>3. 3rd Question Starts Here</p>
                        <div class="Options">
                            <div>
                                <input type="radio" name="3" value="1st Value">
                                <label>1st Option</label>
                            </div>
                            <div>
                                <input type="radio" name="3" value="2nd Value">
                                <label>2nd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="3" value="3rd Value">
                                <label>3rd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="3" value="4th Value">
                                <label>4th Option</label>
                            </div>
                        </div>
                    </div>
                    <div class="Item">
                        <p>4. 4th Question Starts Here</p>
                        <div class="Options">
                            <div>
                                <input type="radio" name="4" value="1st Value">
                                <label>1st Option</label>
                            </div>
                            <div>
                                <input type="radio" name="4" value="2nd Value">
                                <label>2nd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="4" value="3rd Value">
                                <label>3rd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="4" value="4th Value">
                                <label>4th Option</label>
                            </div>
                        </div>
                    </div>
                    <div class="Item">
                        <p>5. 5th Question Starts Here</p>
                        <div class="Options">
                            <div>
                                <input type="radio" name="5" value="1st Value">
                                <label>1st Option</label>
                            </div>
                            <div>
                                <input type="radio" name="5" value="2nd Value">
                                <label>2nd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="5" value="3rd Value">
                                <label>3rd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="5" value="4th Value">
                                <label>4th Option</label>
                            </div>
                        </div>
                    </div>
                    <div class="Item">
                        <p>6. 6th Question Starts Here</p>
                        <div class="Options">
                            <div>
                                <input type="radio" name="6" value="1st Value">
                                <label>1st Option</label>
                            </div>
                            <div>
                                <input type="radio" name="6" value="2nd Value">
                                <label>2nd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="6" value="3rd Value">
                                <label>3rd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="6" value="4th Value">
                                <label>4th Option</label>
                            </div>
                        </div>
                    </div>
                    <div class="Item">
                        <p>7. 7th Question Starts Here</p>
                        <div class="Options">
                            <div>
                                <input type="radio" name="7" value="1st Value">
                                <label>1st Option</label>
                            </div>
                            <div>
                                <input type="radio" name="7" value="2nd Value">
                                <label>2nd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="7" value="3rd Value">
                                <label>3rd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="7" value="4th Value">
                                <label>4th Option</label>
                            </div>
                        </div>
                    </div>
                    <div class="Item">
                        <p>8. 8th Question Starts Here</p>
                        <div class="Options">
                            <div>
                                <input type="radio" name="8" value="1st Value">
                                <label>1st Option</label>
                            </div>
                            <div>
                                <input type="radio" name="8" value="2nd Value">
                                <label>2nd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="8" value="3rd Value">
                                <label>3rd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="8" value="4th Value">
                                <label>4th Option</label>
                            </div>
                        </div>
                    </div>
                    <div class="Item">
                        <p>9. 9th Question Starts Here</p>
                        <div class="Options">
                            <div>
                                <input type="radio" name="9" value="1st Value">
                                <label>1st Option</label>
                            </div>
                            <div>
                                <input type="radio" name="9" value="2nd Value">
                                <label>2nd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="9" value="3rd Value">
                                <label>3rd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="9" value="4th Value">
                                <label>4th Option</label>
                            </div>
                        </div>
                    </div>
                    <div class="Item">
                        <p>10. 10th Question Starts Here</p>
                        <div class="Options">
                            <div>
                                <input type="radio" name="10" value="1st Value">
                                <label>1st Option</label>
                            </div>
                            <div>
                                <input type="radio" name="10" value="2nd Value">
                                <label>2nd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="10" value="3rd Value">
                                <label>3rd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="10" value="4th Value">
                                <label>4th Option</label>
                            </div>
                        </div>
                    </div>
                    <div class="Item">
                        <p>11. 11th Question Starts Here</p>
                        <div class="Options">
                            <div>
                                <input type="radio" name="11" value="1st Value">
                                <label>1st Option</label>
                            </div>
                            <div>
                                <input type="radio" name="11" value="2nd Value">
                                <label>2nd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="11" value="3rd Value">
                                <label>3rd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="11" value="4th Value">
                                <label>4th Option</label>
                            </div>
                        </div>
                    </div>
                    <div class="Item">
                        <p>12. 12th Question Starts Here</p>
                        <div class="Options">
                            <div>
                                <input type="radio" name="12" value="1st Value">
                                <label>1st Option</label>
                            </div>
                            <div>
                                <input type="radio" name="12" value="2nd Value">
                                <label>2nd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="12" value="3rd Value">
                                <label>3rd Option</label>
                            </div>
                            <div>
                                <input type="radio" name="12" value="4th Value">
                                <label>4th Option</label>
                            </div>
                        </div>
                    </div>
                </form>
                <button type="submit" class="Submit" name="submit">Submit Answers</button>
            </div>
            <div class="Result">
                <div class="Heading">
                    <h1>Your Result</h1>
                    <p>See How You Performed</p>
                </div>
                <div class="Analytics">
                    <h2 class="Bold">Congratulations!</h2>
                    <h3>You Scored</h3>
                    <h1 class="Medium Orange Percentage">75%</h1>
                    <h2><span Class="Orange Semi-Bold Correct">9</span> Correct Out of 12</h2>
                    <a class="btn-Certificate" href="{{ url('/certificate') }}" target="_blank">Get Certificate</a>
                    <div class="Share">
                        <h2 class="Medium">Share Your Results</h2>
                        <div class="Social">
                            <a href=""><img src="{{ asset('assets/image/common/Facebook.png') }}" alt="Facebook"></a>
                            <a href=""><img src="{{ asset('assets/image/common/Twitter-01.png') }}" alt="Twitter"></a>
                            <a href=""><img src="{{ asset('assets/image/common/Instagram-02.png') }}" alt="Instagram"></a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
@endsection
@push('scripts')
    <script type="text/javascript">
        $(document).ready(function() {
            $("#{{$page}}-top").attr('class', 'Active');
            $("#{{$page}}-sidebar").attr('class', 'Active');
        });
    </script>
@endpush