Skip to content

Commit

Permalink
fixed typos, adjusted input placement
Browse files Browse the repository at this point in the history
  • Loading branch information
Durhamster committed Jul 7, 2022
1 parent 121e8b9 commit 57583c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/am_football.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const nfl_dropdown = `<select
<option class="team_selection" id="NYJ" value="NYJ">New York Jets</option>
<option class="team_selection" id="PHI" value="PHI">Philadelphia Eagles</option>
<option class="team_selection" id="PIT" value="PIT">Pittsburgh Steelers</option>
<option class="team_selection" id="SFC" value="SFC">San Francisco 49ners</option>
<option class="team_selection" id="SFC" value="SFC">San Francisco 49ers</option>
<option class="team_selection" id="SEA" value="SEA">Seattle Seahawks</option>
<option class="team_selection" id="TBB" value="TBB">Tampa Bay Buccaneers</option>
<option class="team_selection" id="TEN" value="TEN">Tennessee Titans</option>
Expand Down
5 changes: 3 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,13 @@ main_app.innerHTML =
misery_calc.innerHTML =
`
<p>
Enter the year you were born:
<input
name="birth_year"
maxlength="4"
id="birth_year"
/>
<button id="submit_btn">Find out how miserable you are!</button>` +
</p><p><button id="submit_btn">Find out how miserable you are!</button></p>` +
result_sentences +
`</p>
`;
Expand Down Expand Up @@ -281,7 +282,7 @@ const sports_check = function () {
sports_selection_div.style.display = "none";
// Checks which sports have been selected & produces correct dropdown menus

let misery_div_items = `<p>Select your team(s) and the year you were born</p>`;
let misery_div_items = `<p>Select your team(s)</p>`;

if (checked_sports.includes("bbl")) {
misery_div_items = misery_div_items + bbl_dropdown;
Expand Down

0 comments on commit 57583c5

Please sign in to comment.