Difference between revisions of "HQ:Code Test"

Line 1,074: Line 1,074:
 
//if this team is listed in the awards/nominations, add accordingly  
 
//if this team is listed in the awards/nominations, add accordingly  
 
if( data[x].team_name == award[z].team_name){
 
if( data[x].team_name == award[z].team_name){
 
  
 
//nomination
 
//nomination
Line 1,124: Line 1,123:
 
award_assigned  = true;
 
award_assigned  = true;
 
}
 
}
 
 
}
 
}
 
 
Line 1,130: Line 1,128:
 
}
 
}
 
 
//if the team wasnt nominated
+
//if the team wasnt nominated
 
if(nominations_assigned  == false){
 
if(nominations_assigned  == false){
 
data[x].nominations = '-';
 
data[x].nominations = '-';

Revision as of 14:48, 16 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