Skip to content

Commit

Permalink
addTypedFeature
Browse files Browse the repository at this point in the history
  • Loading branch information
YashaswiniIppili committed Dec 5, 2023
1 parent af03c0c commit d4cf244
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

<!-- Todo: remove the below script once you finish your portfolio -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/typed.js/2.0.12/typed.min.js"></script>
</head>

<!-- Todo: read the following HTML Todos to create your stunning portfolio website -->
Expand All @@ -48,7 +49,7 @@
<h1 class="hero-title load-hidden">
Hi, my name is <span class="text-color-main">Your Name</span>
<br />
I'm the Unknown Developer.
<span id="typed-text"></span>
</h1>
<p class="hero-cta load-hidden">
<a rel="noreferrer" class="cta-btn cta-btn--hero" href="#about"
Expand Down Expand Up @@ -341,5 +342,18 @@ <h2 class="section-title">Contact</h2>
<!-- /END Footer Section -->

<script defer type="module" src="index.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function(){
new Typed('#typed-text', {
strings: ["an avid Gen AI Enthusiast","an AIML Engineer", "a Data Analyst", "a Web Developer"],
typeSpeed: 50,
backSpeed: 50,
loop: true,
showCursor: true,
cursorChar: '|',
smartBackspace: true
});
});
</script>
</body>
</html>

0 comments on commit d4cf244

Please sign in to comment.