students:value-calculator-results

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
students:value-calculator-results [2024/01/26 19:52] steve.wangstudents:value-calculator-results [2024/01/27 02:36] (current) steve.wang
Line 1: Line 1:
-===== The Background Research test ===== 
- 
-By [[daniel-chen| daniel chen]] 
- 
- 
-       
- 
 <html> <html>
 <head> <head>
Line 104: Line 97:
   <script>   <script>
     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('result').style.color = '#e9e9e9' document.getElementById('result').style.color = '#e9e9e9'
 +    take_the_test_again.style.color = 'white'
 }, 100) }, 100)
 }) })
Line 148: Line 142:
     document.getElementsByClassName('number2')[0].innerText = JSON.parse(newData[Object.keys(newData)[0]]).toFixed(2);     document.getElementsByClassName('number2')[0].innerText = JSON.parse(newData[Object.keys(newData)[0]]).toFixed(2);
     }     }
 +
   </script>   </script>
 </body> </body>
  • students/value-calculator-results.1706327579.txt.gz
  • Last modified: 2024/01/26 19:52
  • by steve.wang