diff --git a/src/pages/focus.js b/src/pages/focus.js index fac074f..1fabfc9 100644 --- a/src/pages/focus.js +++ b/src/pages/focus.js @@ -2,10 +2,19 @@ import React from 'react'; import './../pages-style/focus.css'; function focus() { + function setHeading() + { + // set IP address entered in input field as heading + let inputIPAddress = document.getElementById("ipaddress").value; + document.getElementById("headerToEdit").textContent = inputIPAddress; + } return (
This page will be the landing page for the focus display, and should explain the point of the focus display
+ + +