Skip to content

Commit

Permalink
Refactor quiz template: change question heading to h3 and adjust butt…
Browse files Browse the repository at this point in the history
…on padding
  • Loading branch information
mre committed Feb 18, 2025
1 parent 3ddc6a8 commit aa42e6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/shortcodes/quiz.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ <h2>Thank you for your interest!</h2>
function createQuestionElement(question) {
const element = document.createElement("div");
element.className = "question";
element.innerHTML = `<h2>${question.question}${
element.innerHTML = `<h3>${question.question}${
question.optional ? " (Optional)" : ""
}</h2>`;
}</h3>`;

let inputContainer;

Expand Down Expand Up @@ -352,7 +352,7 @@ <h2>Thank you for your interest!</h2>
}

.quiz-button {
padding: 50px 15px;
padding: 14px;
border-radius: 4px;
background-color: #111;
color: white;
Expand Down

0 comments on commit aa42e6a

Please sign in to comment.