From fd1df05cf1cf9fdecc5b8428d6e2993e892805e9 Mon Sep 17 00:00:00 2001 From: Daniel Hader Date: Sun, 31 May 2026 10:56:32 -0500 Subject: style tweaks --- static/main.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'static/main.js') diff --git a/static/main.js b/static/main.js index aad4a49..ae997f3 100644 --- a/static/main.js +++ b/static/main.js @@ -27,14 +27,19 @@ function create_problem_element(problem, submissions) { const title = document.createElement("h2"); title.innerHTML = problem.title; problem_div.appendChild(title); - + const description = document.createElement("p"); description.innerHTML = problem.description; problem_div.appendChild(description); - + const sub_title = document.createElement("h3"); sub_title.innerHTML = "Submissions"; problem_div.appendChild(sub_title); + + const submission_link = document.createElement("a"); + submission_link.href = "submit.html?problem=10"; + submission_link.innerHTML = "submit solution" + problem_div.appendChild(submission_link); const sub_div = document.createElement("div"); sub_div.className = "submission-div"; -- cgit v1.2.3