Currently, I am working on developing a dynamic timeline using AngularJS. To populate my timeline, I have successfully configured the data fetching from a JSON file. You can see what I have accomplished so far on PLNKR: http://plnkr.co/edit/avRkVJNJMs4Ig5mDrwJ8
The navigation structure I am currently using is:
<nav id="sticky-navigation">
<ul>
<li><a href="#decade-1960s">1960</a></li>
<li><a href="#decade-1970s">1970</a></li>
<li><a href="#decade-1980s">1980</a></li>
<li><a href="#decade-1990s">1990</a></li>
<li><a href="#decade-2000s">2000</a></li>
<li class="active"><a href="#decade-2010s">2010-Now</a></li>
</ul>
</nav>
I aim to create wrapper divs for each unique ID like "decade-1960s", "decade-1970s", etc., allowing users to easily navigate to their desired decade using the provided navigation links. As the date information is extracted from the JSON file, I am exploring ways to extract the year from the JSON, categorize events by decades, and dynamically add a wrapper for each decade.
Thank you for your assistance! I understand it may seem complex, but as a front-end developer and designer, I prefer focusing on the visual aspects rather than backend programming.