Skip to content

Commit

Permalink
Remove and update placeholder equations (#579)
Browse files Browse the repository at this point in the history
* Update teamV2.ejs

* Fixed about page alignment

* Add 23-24 board

* Standardize former board titles

* Update teamV2.ejs

* Remove and update placeholders
  • Loading branch information
devesh-aggarwal authored Nov 11, 2024
1 parent 4cbfec3 commit 26bacae
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
18 changes: 10 additions & 8 deletions utils/constants/referencesheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const referenceSheet = {
'$6.67\\times10^{-11}\\:\\mathrm{Nm^2/kg^2}$',
"Acceleration due to gravity at Earth's surface":
'$g = 9.809\\:\\mathrm{m/s^2}$',
"Avogadro's number": '$N_0 = 6.02\\times10^{23}\\:\\mathrm{mol^{-1}}$',
"Avogadro's number": '$N_A = 6.02\\times10^{23}\\:\\mathrm{mol^{-1}}$',
'Universal gas constant': '$R = 8.31\\: \\mathrm{J/(mol\\cdot K)}$',
"Boltzmann's constant": '$k_B = 1.38\\times10^{-23}\\:\\mathrm{J/K}$',
'1 electron volt':
Expand All @@ -69,34 +69,36 @@ const referenceSheet = {
},
Chemistry: {
Equations: {
'Henderseon-Hasselbach': 'hm',
'Henderseon-Hasselbach': '$pH = pKa + \\log{\\frac{[A^-]}{[HA]}}$',
},
Constants: {
"Faraday's Constant": '96485 [unit]',
"Faraday's Constant": '$96485 \\:\\mathrm{s\\cdot A \\cdot mol^{-1}}$',
},
},
Biology: {
Equations: {
'Hardy-Weinberg Equilibrium': '$p^2+2pq+q^2=1$',
},
Constants: {
'Karring Kapasity': 'something',
'Avogadro\'s number': '$N_A = 6.02\\times10^{23}\\:\\mathrm{mol^{-1}}$',
},
},
ESS: {
Equations: {
'Hardy-Weinberg Equilibrium': '$p^2+2pq+q^2=1$',
'Darcy\'s Law': '$q = -\\frac{k}{\\mu} \\Delta p$',

},
Constants: {
'Karring Kapasity': 'something',
'Earth\'s Average Density': '$\\rho = 5.51 \\:\\mathrm{g/cm^3}$',
'Earth\'s Radius': '$R = 6.371\\times 10^6 \\:\\mathrm{m}$',
},
},
USABO: {
Equations: {
'Hardy-Weinberg Equilibrium': '$p^2+2pq+q^2=1$',
'': '',
},
Constants: {
'Karring Kapasity': 'something',
'': '',
},
},
};
Expand Down
6 changes: 3 additions & 3 deletions views/private/train/displayQuestion.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<% choiceIndex++; %>
<% }) %>
<% if(!(typeof disabled != 'undefined' && disabled)) { %>
<input class="btn btn-primary mt-4" type="submit" value="Submit" id="submit">
<input class="btn btn-primary mt-4 mb-3" type="submit" value="Submit" id="submit">
<% } %>
</div>
<input type="hidden" name="id" value="<%= newQues._id %>">
Expand Down Expand Up @@ -143,7 +143,7 @@
<% choiceIndex++; %>
<% }) %>
<% if(!(typeof disabled != 'undefined' && disabled)) { %>
<input class="btn btn-primary mt-4" type="submit" value="Submit" id="submit">
<input class="btn btn-primary mt-4 mb-3" type="submit" value="Submit" id="submit">
<% } %>
</div>
<input type="hidden" name="id" value="<%= newQues._id %>">
Expand All @@ -166,7 +166,7 @@
<div class="form-group">
<input type="text" class="form-control" id="fr-answer" placeholder="Enter your answer here" name="freeAnswer" value="">
</div>
<input class="btn btn-primary" type="submit" value="Submit" id="submit">
<input class="btn btn-primary mb-3" type="submit" value="Submit" id="submit">
<% } %>
</div>
<input type="hidden" name="id" value="<%= newQues._id %>">
Expand Down

0 comments on commit 26bacae

Please sign in to comment.