Best matchAuto Text Effect Animation
Build a timed text animation that updates one character at a time.
Build the text effect →Build a testimonial slider with HTML, CSS, and JavaScript while practicing setTimeout and DOM selection.
In this project, we’re going to build a testimonial slider using HTML, CSS, and JavaScript. You’ll see how to move between items and keep the active content synchronized. Along the way, you’ll practice setTimeout, DOM selection, and DOM content updates, so you can understand how the interface and JavaScript logic work together.
Recommended knowledge: Basic HTML and CSS, JavaScript functions and callbacks, Browser timers, JavaScript variables and number operations.
This project uses timed JavaScript updates.
index.html<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Testimonial Slider</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="testimonial-container">
<img
src="https://images.unsplash.com/photo-1570295999919-56ceb5ecca61?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=880&q=80"
alt="user-image"
/>
<p class="text">
This is simply unbelievable! I would be lost without Apple. The very
best. Not able to tell you how happy I am with Apple.
</p>
<h4 class="username">Cherise G</h4>
</div>
<script src="index.js"></script>
</body>
</html>
Practice setTimeout, javaScript calculations, and conditional logic with these related projects.
Best matchBuild a timed text animation that updates one character at a time.
Build the text effect →
Calculate the current time and keep the display updated.
Build a digital clock →
Control a loading animation with timed conditional updates.
Build a loading bar →
Build a timed text animation that updates one character at a time.
Build the text effect
Calculate the current time and keep the display updated.
Build a digital clock
Control a loading animation with timed conditional updates.
Build a loading bar