Ask4services

<!doctype html>

<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml" xmlns:v-bind="http://www.w3.org/1999/xhtml">

 

<head>

    <meta charset="utf-8">

    <meta name="referrer" content="never" />

    <title>Find University</title>

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link rel="shortcut icon" type="image/x-icon" href="./public/favicon.ico">

    <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,700,800" rel="stylesheet" type="text/css">

    <link href="https://fonts.googleapis.com/css?family=Baloo+Bhaina" rel="stylesheet">

    <link rel="stylesheet" type="text/css" href="./public/style.css">

 

    <meta name="description" content="Welcome to Vue.js Poster Shop! A simple but powerful ecommerce user interface complete with products and a shopping cart built with VueJS" />

    <meta name="twitter:card" value="summary_large_image">

    <meta property="og:title" content="Vue.js Poster Shop" />

    <meta property="og:type" content="website" />

    <meta property="og:url" content="http://poster-shop.vuejsdevelopers.com/" />

    <meta property="og:image" content="./public/meta_image.jpg" />

    <meta property="og:description" content="Welcome to Vue.js Find university-list! A simple university search engine built with VueJS" />

    <script type="text/javascript" language="javascript" src="jquery-1.8.2.min.js"></script>

    <script src="https://code.jquery.com/jquery-3.5.0.js"></script>

 

</head>

<html>

 

<body>

    <div id="app" v-cloak>

        <div id="loading">

            Loading...

        </div>

        <div class="header">

            <div class="container">

                <div class="title">

                    <img src="public/logo.png">

                    <h1>Find University</h1>

                </div>

                <form class="search-bar" v-on:submit.prevent="onSubmit">

                    <input type="text" placeholder="Search for posters" required v-model="search" autocapitalize="off" autocorrect="off">

                    <!----><input type="submit" value="Search" class="btn">

                </form>

                <p>Try search terms <em>University, Country, Website</em></p>

            </div>

        </div>

    </div>

    <div id="project-info"></div>

    </div>

 

    <script>

        $.ajax({

            dataType: "json",

            url: url,

            data: data,

            success: success

        });

        $.getJSON("ajax/directory.json", function(data) {

            var items = [];

            $.each(data, function(key, val) {

                items.push("<li id='" + key + "'>" + val + "</li>");

            });

 

            $("<ul/>", {

                "class": "search-university",

                html: items.join("")

            }).appendTo("body");

        });

    </script>

    <div id="university"></div>

 

    <!-- The core Firebase JS SDK is always required and must be listed first -->

    <script src="/__/firebase/8.0.0/firebase-app.js"></script>

 

    <!-- TODO: Add SDKs for Firebase products that you want to use

     https://firebase.google.com/docs/web/setup#available-libraries -->

 

    <!-- Initialize Firebase -->

    <script src="/__/firebase/init.js"></script>

    <script src="/__/firebase/onfig.js"></script>

    <!-- The core Firebase JS SDK is always required and must be listed first -->

    <script src="https://www.gstatic.com/firebasejs/8.0.0/firebase-app.js"></script>

 

    <!-- TODO: Add SDKs for Firebase products that you want to use

     https://firebase.google.com/docs/web/setup#available-libraries -->

 

    <script>

        // Your web app's Firebase configuration

        var firebaseConfig = {

            apiKey: "AIzaSyDhxP8VxKBAnxZkV6B4UUDQUGwiHBcgVKI",

            authDomain: "api-6924577826874295253-159679.firebaseapp.com",

            databaseURL: "https://api-6924577826874295253-159679.firebaseio.com",

            projectId: "api-6924577826874295253-159679",

            storageBucket: "api-6924577826874295253-159679.appspot.com",

            messagingSenderId: "202229401787",

            appId: "1:202229401787:web:0db267a43c23a5c333819e"

        };

        // Initialize Firebase

        firebase.initializeApp(firebaseConfig);

        $.getJSON("directory.json", function(json) {

            console.log("JSON Data: " + json.users[3].any);

        });

        $.getJSON("diretory.json", {

                any: "University",

                country: "Country"

            })

            .done(function(json) {

                console.log("JSON Data: " + json.users[3].any);

            })

            .fail(function(jqxhr, textStatus, error) {

                var err = textStatus + ", " + error;

                console.log("Request Failed: " + err);

            });

    </script>

</body>

 

</html>

Our portfolio

Ask4services