Step 1: Adding CSS to the Page

First we’ll need to add the Yext Search stylesheet into our html file to load in some CSS. We’ll add the following <link> into the <head>


so it looks like this:

<!DOCTYPE html>
<html lang="en">

    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Search Test Experience</title>
    <!-- Answers CSS-->
    <link rel="stylesheet" type="text/css" href="" />

    <!-- Answers Layout styling -->
        .answers-layout {
            max-width: 50rem;
            margin: auto;
    <!-- Answers JS-->


    <div class="answers-layout">
        <div class="wishful-thinking" style="width: 100%; text-align: center" ;">Man I wish I had Search!</div>