Skip to content

Commit e2866b0

Browse files
authored
uploaded temporary test file
1 parent 45009a7 commit e2866b0

File tree

1 file changed

+186
-0
lines changed

1 file changed

+186
-0
lines changed

js/test_study_sorter.js

Lines changed: 186 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
1+
// TODO: need to break this into modules rather than one long file
2+
3+
// TODO: do we need to hide the links to the page?
4+
// private key stuff - check into this
5+
// write up a blog post about this procedure - reference other websites:
6+
// https://coderwall.com/p/duapqq/use-a-google-spreadsheet-as-your-json-backend
7+
// https://stackoverflow.com/questions/24531351/retrieve-google-spreadsheet-worksheet-json
8+
const studyLink = 'https://spreadsheets.google.com/feeds/list/1PMWsPEfHFC6myMwhdidyr2hhRK5ZA-JrDQzwRoDTFaw/oua1i2d/public/values?alt=json-in-script&callback=text';
9+
const buildLink = 'https://spreadsheets.google.com/feeds/list/1PMWsPEfHFC6myMwhdidyr2hhRK5ZA-JrDQzwRoDTFaw/oua1i2d/public/values?alt=json-in-script&callback=text';
10+
11+
//Getting the full time side nav buttons --Jonathan was here--
12+
const ft_html_css_button = document.getElementById("ft_HTML&CSS_Tab")
13+
const ft_responsive_design_button = document.getElementById("ft_ResponsiveDesignAndCSSAnimations_Tab");
14+
const ft_javascript_button = document.getElementById("ft_Javascript_Tab");
15+
const ft_sql_button = document.getElementById("ft_SQL_Tab");
16+
const ft_node_button = document.getElementById("ft_NodeExpress_Tab");
17+
const ft_react_button = document.getElementById("ft_React_Tab");
18+
const ft_reactnative_button = document.getElementById("ft_ReactNative_Tab");
19+
const ft_maths_button = document.getElementById("ft_Maths_Tab");
20+
const ft_python_button = document.getElementById("ft_Python_Tab");
21+
const ft_django_button = document.getElementById("ft_Django_Tab");
22+
const ft_electron_button = document.getElementById("ft_Electron_Tab");
23+
const ft_php_button = document.getElementById("ft_PHP_Tab");
24+
const ft_webdesign_button = document.getElementById("ft_WebDesign_Tab");
25+
const ft_digital_marketing_button = document.getElementById("ft_DigitalMarketing_Tab");
26+
const ft_data_science_button = document.getElementById("ft_DataScience_Tab");
27+
const ft_web_security_button = document.getElementById("ft_WebSecurity_Tab");
28+
const ft_ecommerce_button = document.getElementById("ft_E-Commerce_Tab");
29+
const ft_cplusplus_button = document.getElementById("ft_C++_Tab");
30+
const ft_mobile_development_button = document.getElementById("ft_MobileDevelopment_Tab");
31+
const ft_java_button = document.getElementById("ft_Java_Tab");
32+
const ft_virtual_reality_button = document.getElementById("ft_VirtualReality_Tab");
33+
const ft_linux_button = document.getElementById("ft_Linux_Tab");
34+
const ft_git_button = document.getElementById("ft_GitGitHub_Tab");
35+
const ft_wordpress_button = document.getElementById("ft_Wordpress_Tab");
36+
const ft_blockchain_button = document.getElementById("ft_BlockChain_Tab");
37+
const ft_ai_button = document.getElementById("ft_AI_Tab");
38+
const ft_video_production_button = document.getElementById("ft_VideoProduction_Tab");
39+
const ft_laravel_button = document.getElementById("ft_Laravel_Tab");
40+
const ft_computer_science_button = document.getElementById("ft_ComputerScience_Tab");
41+
const ft_realestate_investing_button = document.getElementById("ft_RealEstateInvesting_Tab");
42+
const ft_smalltalk_button = document.getElementById("ft_HTMLft_SmallTalk_Tab_CSS_Tab");
43+
const ft_mongodb_button = document.getElementById("ft_MongoDB_Tab");
44+
const ft_startup_school_button = document.getElementById("ft_StartupSchool_Tab");
45+
const ft_ruby_button = document.getElementById("ft_Ruby_Tab");
46+
const ft_swift_button = document.getElementById("ft_Swift_Tab");
47+
const ft_c_button = document.getElementById("ft_C_Tab");
48+
const ft_firebase_button = document.getElementById("ft_Firebase_Tab");
49+
const ft_aws_button = document.getElementById("ft_AWS_Tab");
50+
const ft_csharp_button = document.getElementById("ft_csharp_Tab");
51+
52+
53+
//Getting the part time side nav buttons --Jonathan was here--
54+
const pt_html_css_button = document.getElementById("pt_HTML&CSS_Tab")
55+
const pt_responsive_design_button = document.getElementById("pt_ResponsiveDesignAndCSSAnimations_Tab");
56+
const pt_javascript_button = document.getElementById("pt_Javascript_Tab");
57+
const pt_sql_button = document.getElementById("pt_SQL_Tab");
58+
const pt_node_button = document.getElementById("pt_NodeExpress_Tab");
59+
const pt_react_button = document.getElementById("pt_React_Tab");
60+
const pt_reactnative_button = document.getElementById("pt_ReactNative_Tab");
61+
const pt_maths_button = document.getElementById("pt_Maths_Tab");
62+
const pt_python_button = document.getElementById("pt_Python_Tab");
63+
const pt_django_button = document.getElementById("pt_Django_Tab");
64+
const pt_electron_button = document.getElementById("pt_Electron_Tab");
65+
const pt_php_button = document.getElementById("pt_PHP_Tab");
66+
const pt_webdesign_button = document.getElementById("pt_WebDesign_Tab");
67+
const pt_digital_marketing_button = document.getElementById("pt_DigitalMarketing_Tab");
68+
const pt_data_science_button = document.getElementById("pt_DataScience_Tab");
69+
const pt_web_security_button = document.getElementById("pt_WebSecurity_Tab");
70+
const pt_ecommerce_button = document.getElementById("pt_E-Commerce_Tab");
71+
const pt_cplusplus_button = document.getElementById("pt_C++_Tab");
72+
const pt_mobile_development_button = document.getElementById("pt_MobileDevelopment_Tab");
73+
const pt_java_button = document.getElementById("pt_Java_Tab");
74+
const pt_virtual_reality_button = document.getElementById("pt_VirtualReality_Tab");
75+
const pt_linux_button = document.getElementById("pt_Linux_Tab");
76+
const pt_git_button = document.getElementById("pt_GitGitHub_Tab");
77+
const pt_wordpress_button = document.getElementById("pt_Wordpress_Tab");
78+
const pt_blockchain_button = document.getElementById("pt_BlockChain_Tab");
79+
const pt_ai_button = document.getElementById("pt_AI_Tab");
80+
const pt_video_production_button = document.getElementById("pt_VideoProduction_Tab");
81+
const pt_laravel_button = document.getElementById("pt_Laravel_Tab");
82+
const pt_computer_science_button = document.getElementById("pt_ComputerScience_Tab");
83+
const pt_realestate_investing_button = document.getElementById("pt_RealEstateInvesting_Tab");
84+
const pt_smalltalk_button = document.getElementById("pt_SmallTalk_Tab");
85+
const pt_mongodb_button = document.getElementById("pt_MongoDB_Tab");
86+
const pt_startup_school_button = document.getElementById("pt_StartupSchool_Tab");
87+
const pt_ruby_button = document.getElementById("pt_Ruby_Tab");
88+
const ft_swift_button = document.getElementById("ft_Swift_Tab");
89+
const ft_c_button = document.getElementById("ft_C_Tab");
90+
const ft_firebase_button = document.getElementById("ft_Firebase_Tab");
91+
const ft_aws_button = document.getElementById("ft_AWS_Tab");
92+
const pt_csharp_button = document.getElementById("pt_csharp_Tab");
93+
94+
95+
// Getting the side nav mobile icon buttons
96+
97+
98+
// Creating new full time Div elements.
99+
const html_full_new_el = document.createElement("DIV");
100+
const responsiveDesign_full_new_el = document.createElement("DIV");
101+
const js_full_new_el = document.createElement("DIV");
102+
const node_full_new_el = document.createElement("DIV");
103+
const react_full_new_el = document.createElement("DIV");
104+
const reactNative_full_new_el = document.createElement("DIV");
105+
const maths_full_new_el = document.createElement("DIV");
106+
const html_full_new_el = document.createElement("DIV");
107+
const js_full_new_el = document.createElement("DIV");
108+
const js_full_new_el = document.createElement("DIV");
109+
const react_full_new_el = document.createElement("DIV");
110+
const react_full_new_el = document.createElement("DIV");
111+
const html_full_new_el = document.createElement("DIV");
112+
const js_full_new_el = document.createElement("DIV");
113+
const js_full_new_el = document.createElement("DIV");
114+
const react_full_new_el = document.createElement("DIV");
115+
const react_full_new_el = document.createElement("DIV");
116+
const html_full_new_el = document.createElement("DIV");
117+
const js_full_new_el = document.createElement("DIV");
118+
const js_full_new_el = document.createElement("DIV");
119+
const react_full_new_el = document.createElement("DIV");
120+
const react_full_new_el = document.createElement("DIV");
121+
const html_full_new_el = document.createElement("DIV");
122+
const js_full_new_el = document.createElement("DIV");
123+
const js_full_new_el = document.createElement("DIV");
124+
const react_full_new_el = document.createElement("DIV");
125+
const react_full_new_el = document.createElement("DIV");
126+
const html_full_new_el = document.createElement("DIV");
127+
const js_full_new_el = document.createElement("DIV");
128+
const js_full_new_el = document.createElement("DIV");
129+
const react_full_new_el = document.createElement("DIV");
130+
const react_full_new_el = document.createElement("DIV");
131+
const html_full_new_el = document.createElement("DIV");
132+
const html_full_new_el = document.createElement("DIV");
133+
const js_full_new_el = document.createElement("DIV");
134+
const js_full_new_el = document.createElement("DIV");
135+
const react_full_new_el = document.createElement("DIV");
136+
const react_full_new_el = document.createElement("DIV");
137+
const html_full_new_el = document.createElement("DIV");
138+
const js_full_new_el = document.createElement("DIV");
139+
140+
// Creating new part time Div elements.
141+
const html_part_new_el = document.createElement("DIV");
142+
const html_part_new_el = document.createElement("DIV");
143+
const js_part_new_el = document.createElement("DIV");
144+
const js_part_new_el = document.createElement("DIV");
145+
const react_part_new_el = document.createElement("DIV");
146+
const react_part_new_el = document.createElement("DIV");
147+
const html_part_new_el = document.createElement("DIV");
148+
const html_part_new_el = document.createElement("DIV");
149+
const js_part_new_el = document.createElement("DIV");
150+
const js_part_new_el = document.createElement("DIV");
151+
const react_part_new_el = document.createElement("DIV");
152+
const react_part_new_el = document.createElement("DIV");
153+
const html_part_new_el = document.createElement("DIV");
154+
const js_part_new_el = document.createElement("DIV");
155+
const js_part_new_el = document.createElement("DIV");
156+
const react_part_new_el = document.createElement("DIV");
157+
const react_part_new_el = document.createElement("DIV");
158+
const html_part_new_el = document.createElement("DIV");
159+
const js_part_new_el = document.createElement("DIV");
160+
const js_part_new_el = document.createElement("DIV");
161+
const react_part_new_el = document.createElement("DIV");
162+
const react_part_new_el = document.createElement("DIV");
163+
const html_part_new_el = document.createElement("DIV");
164+
const js_part_new_el = document.createElement("DIV");
165+
const js_part_new_el = document.createElement("DIV");
166+
const react_part_new_el = document.createElement("DIV");
167+
const react_part_new_el = document.createElement("DIV");
168+
const html_part_new_el = document.createElement("DIV");
169+
const js_part_new_el = document.createElement("DIV");
170+
const js_part_new_el = document.createElement("DIV");
171+
const react_part_new_el = document.createElement("DIV");
172+
const react_part_new_el = document.createElement("DIV");
173+
const html_part_new_el = document.createElement("DIV");
174+
const html_part_new_el = document.createElement("DIV");
175+
const js_part_new_el = document.createElement("DIV");
176+
const js_part_new_el = document.createElement("DIV");
177+
const react_part_new_el = document.createElement("DIV");
178+
const react_part_new_el = document.createElement("DIV");
179+
const html_part_new_el = document.createElement("DIV");
180+
const js_part_new_el = document.createElement("DIV");
181+
182+
183+
184+
185+
186+

0 commit comments

Comments
 (0)