diff options
| author | Daniel Hader <[email protected]> | 2026-05-31 10:56:32 -0500 |
|---|---|---|
| committer | Daniel Hader <[email protected]> | 2026-05-31 10:56:32 -0500 |
| commit | fd1df05cf1cf9fdecc5b8428d6e2993e892805e9 (patch) | |
| tree | 180a720fa39b3dab4525269e6c2532eede8ca4d4 /static/main.js | |
| parent | cef48be83d5e73c21e28da92ba97b8808bc3a1fe (diff) | |
style tweaks
Diffstat (limited to 'static/main.js')
| -rw-r--r-- | static/main.js | 9 |
1 files changed, 7 insertions, 2 deletions
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"; |
