Could you provide guidance on changing the color of fixed texts in specific sections of my portfolio website? Unfortunately, I can't share my lengthy code here, but would greatly appreciate it if you could illustrate with examples. Here's a reference site () that demonstrates text color change while scrolling - I want to implement something similar :)
P.S. Kindly advise using JavaScript, thanks!
I've tried searching for solutions, but haven't found anything satisfactory yet :(
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="/b/cs.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="a4c6cbcbd0d7d0d6c5d489cdc7cbcad7e4958a9d8a95">[email protected]</a>/font/bootstrap-icons.css">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
<body>
<section class="section-top active" id="s1">
<div class="details">
<div class="top">
<h2>Faxraddin</h2>
<div class="lists">
<div class="nav-btn" id="nav-icon1" onclick="document.getElementById('nav-icon1').classList.toggle('open')">
<span></span>
<span></span>
<span></span>
</div>
</div>
<div class="hide-it">
<div class="hide1">
<div class="p1">
<a class="hide1-btn">My Work</a>
<a class="hide1-btn">My Shelf</a>
<a class="hide1-btn">My Resume</a>
</div>
<div class="p2">
<a class="hide-span">SAY HELLO</a>
<a class="hide-span"><a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="6a00040905030903022a0d070b030644090507">[email protected]</a></a>
<a class="hide-span">t/me.com</a>
</div>
</div>
</div>
</div>
<div class="first-info">
<div class="first-sec">
<h1>Frontend</br> Developer.</h1>
<h3 class="profession-info">I like to craft solid and scalable frontend products with great user experiences.</h3>
</div>
<img class="my-img" src="/b/images/Screenshot 2022-11-04 at 19.35.20.png">
</div>
<div class="some-info">
<div class="a1">
<span>Highly skilled at progressive
enhancement, design systems &
UI Engineering.
</span>
<span>Over a decade of experience
building products for clients
across several countries.
</span>
</div>
<div class="btn-container">
<ul>
<a class="a" href="#s1"><div class="btn"></div></a>
<a class="a" href="#s2"><div class="btn"></div></a>
<a class="a" href="#s3"><div class="btn"></div></a>
<a class="a" href="#s4&...