JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<h1 align="center" class="head">SETH'S PICTIONARY GENERATOR</h1>

    <p align="center" class=b> Home of the <strong> best </strong> pictionary generator on the web.</p>

    &nbsp;
    &nbsp;
    &nbsp;


    <div id="wordPlace">

    </div>
    &nbsp;
    &nbsp;
    &nbsp;
    <p align="center">
      <button class="btn btn-primary" onclick="callFunc();">
        Generate a word!
      </button>
    </p>

    <footer class=footer>

      <div align="center" class=foot-div>
        Created by gp_swade -- github.com/swodobaggins/pictionary-generator
      </div>

    </footer>

JavaScript

var nNum;
      	
function numGen() {
	num = Math.floor((Math.random() * 43) + 1);
	nNum = num;
}

var eWords = ["cat", "sun", "cup", "ghost", "flower", "pie", "cow", "banana", "snowflake", "bug", "book", "jar", "snake", "light", "tree", "lips", "apple", "slide", "socks", "smile", "swing", "coat", "shoe", "water", "heart", "hat", "ocean", "kite", "dog", "mouth", "milk", "duck", "eyes", "skateboard", "bird", "boy", "apple", "person", "girl", "mouse", "ball", "house", "star", "nose", "bed", "whale", "jacket", "shirt", "hippo", "beach", "egg", "face", "cookie", "cheese", "ice cream code", "drum", "circle", "spoon", "worm", "spider web"];

function write() {
	var word = eWords[nNum];
	document.getElementById("wordPlace").innerHTML = word;
}

function callFunc(){
	numGen();
	write();
}