JSFiddle - React, Tailwind, and code Playground

by russau

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.7.0/underscore-min.js"></script>

JavaScript

var allQuestions = [
  {
    "Id": "Q1",
    "Category": "Network",
    "Body": "What is a IP address?",
    "ChoicesRequired": 1,
    "Choices": [
      {
        "Value": "",
        "Text": "a unique number that is used to route a request to a destination on a network"
      },
      {
        "Value": "",
        "Text": "a uniquely assigned name to identify a host on a network"
      },
      {
        "Value": "",
        "Text": "367.134.23.5/24"
      }
    ]
  },
  {
    "Id": "Q2",
    "Category": "Network",
    "Body": "What is a load balancer used for?",
    "ChoicesRequired": 1,
    "Choices": [
      {
        "Value": "",
        "Text": "Evenly distributing all inbound request to a set of servers registered on the back side."
      },
      {
        "Value": "",
        "Text": "Returns IP address back to clients for redirecting requests"
      },
      {
        "Value": "",
        "Text": "Rewrites requests, and preforms redirects"
      }
    ]
  },
  {
    "Id": "Q3",
    "Category": "Network",
    "Body": "What is the difference between TCP and UDP",
    "ChoicesRequired": 1,
    "Choices": [
      {
        "Value": "",
        "Text": "TCP the request is acknowledged, UDP no acknowledgment is made from the receiving party."
      },
      {
        "Value": "",
        "Text": "UDP the request is acknowledged, TCP no acknowledgment is made from the receiving party."
      },
      {
        "Value": "",
        "Text": "TCP the request is acknowledged, UDP the request is acknowledged"
      },
      {
        "Value": "",
        "Text": "TCP no acknowledgment is made from the receiving party. UDP no acknowledgment is made from the receiving party."
      }
    ]
  },
  {
    "Id": "Q4",
    "Category": "Network",
    "Body": "What is a Bastion Host / Jump Box?",
    "ChoicesRequired": 1,
    "Choices": [
      {
        "Value": "",
        "Text": "a remote host used to gain access to server that are not exposed publicly or accessible...