Difference between revisions of "HQ:Code Test"

Line 1,067: Line 1,067:
 
if(award[z].section == 'high_school' || award[z].section == 'overgrad'){
 
if(award[z].section == 'high_school' || award[z].section == 'overgrad'){
 
 
data[x].nominations = (award[z].award).substring(13, ((award[z].award).indexOf(",")));
+
data[x].nominations += (award[z].award).substring(13, ((award[z].award).indexOf(",")));
 
}
 
}
 
 
 
else{
 
else{
data[x].nominations = award[z].award;
+
data[x].nominations += award[z].award;
 
}
 
}
 
 

Revision as of 18:47, 13 September 2019

Loading...

Code setup page

This page will help you setup the awards and results page

  1. Place the awards and medals into a excel file to create the variable notation
  2. Place the variables indicated on the code on this page
  3. Place the resulting data bases into the results and all teams info pages