Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addedTypedFeature #284

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>