Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| students:value-calculator-results [2024/01/26 19:52] – steve.wang | students:value-calculator-results [2024/01/27 02:36] (current) – steve.wang | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== The Background Research test ===== | ||
| - | |||
| - | By [[daniel-chen| daniel chen]] | ||
| - | |||
| - | |||
| - | | ||
| - | |||
| < | < | ||
| < | < | ||
| Line 104: | Line 97: | ||
| < | < | ||
| function getInformationFromLink(baseLink) { | function getInformationFromLink(baseLink) { | ||
| - | let fullLink = window.location.href; | + | let fullLink = decodeURIComponent(window.location.href); |
| let info; | let info; | ||
| if (baseLink !== undefined) { | if (baseLink !== undefined) { | ||
| Line 131: | Line 124: | ||
| setTimeout(() =>{ | setTimeout(() =>{ | ||
| document.getElementById(' | document.getElementById(' | ||
| + | take_the_test_again.style.color = ' | ||
| }, 100) | }, 100) | ||
| }) | }) | ||
| Line 148: | Line 142: | ||
| document.getElementsByClassName(' | document.getElementsByClassName(' | ||
| } | } | ||
| + | |||
| </ | </ | ||
| </ | </ | ||