File tree 1 file changed +5
-7
lines changed
LongevityWorldCup.Website/wwwroot/onboarding
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,11 @@ <h2 data-aos="fade" data-aos-duration="700" data-aos-delay="250">The Blood Pact
258
258
</ button >
259
259
</ form >
260
260
261
- < div id ="phenoAgeResult " class ="bioageform " data-aos ="fade " data-aos-duration ="700 " data-aos-delay ="400 "> </ div >
261
+ < div id ="phenoAgeResult " class ="bioageform " data-aos ="fade " data-aos-duration ="700 " data-aos-delay ="400 ">
262
+ < div style ="font-size: 1rem; color: #2c3e50; text-align: center; "> Your biological age is:</ div >
263
+ < div style ="font-size: 2.5rem; color: #4CAF50; font-weight: bold; text-align: center; "> < span id ="animatedAge "> 0</ span > </ div >
264
+ < div id ="yearsText " style ="font-size: 1rem; color: #2c3e50; text-align: center; "> years</ div >
265
+ </ div >
262
266
263
267
< div class ="options-container " data-aos ="fade " data-aos-duration ="700 " data-aos-delay ="400 ">
264
268
< button id ="continueButton " class ="option-button already-have " onclick ="proceedToNextPage() ">
@@ -424,12 +428,6 @@ <h2 data-aos="fade" data-aos-duration="700" data-aos-delay="250">The Blood Pact
424
428
425
429
// Setting up the animated counter effect
426
430
let displayAge = 0 ;
427
- resultElement . innerHTML = `
428
- <div style="font-size: 1rem; color: #2c3e50; text-align: center;">Your biological age is:</div>
429
- <div style="font-size: 2.5rem; color: #4CAF50; font-weight: bold; text-align: center;"><span id="animatedAge">0</span></div>
430
- <div id="yearsText" style="font-size: 1rem; color: #2c3e50; text-align: center;">years</div>
431
- ` ;
432
-
433
431
if ( isFirstTimeAnimation ) {
434
432
// Set the flag to false after the first run
435
433
isFirstTimeAnimation = false ;
You can’t perform that action at this time.
0 commit comments