diff options
Diffstat (limited to 'static')
| -rw-r--r-- | static/index.html | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/static/index.html b/static/index.html index 8162ac9..69c19a5 100644 --- a/static/index.html +++ b/static/index.html @@ -34,14 +34,23 @@ problem_div.appendChild(description); } } + + async function on_load() { + const login_anchor = document.createElement("a"); + login_anchor.innerText = "Login / Register"; + login_anchor.href="google.com"; + document.getElementById("login-notice").appendChild(login_anchor); + + } </script> </head> - <body onload="fetch_problems()"> + <body onload="on_load()"> <div id="layout"> <div id="container"> <div id="content"> - + <span id="login-notice"></span> + <h1>C&! Code Golf Leaderboard</h1> <p>In golf, the goal is to get a ball into a hole in as few swings as possible. The goal of code golf is similarly to solve a problem in as few bytes (of source code) as possible. The following is a list of programming challenges. Your task is to try and solve them in Python with as little code as possible measured in bytes.</p> |
