Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

633115 Views

Latest files of /cody/bradtraversy/50projects50days/testimonial-box-switcher

style.css cody/bradtraversy/50projects50days/testimonial-box-switcher/style.css
67 Views
0 Comments
@import url('https://fonts.googleapis.com/css?family=Montserrat');

* {
box-sizing: border-box;
}

body {
background-color: #f4f4f4;
index.html cody/bradtraversy/50projects50days/testimonial-box-switcher/index.html
254 Views
0 Comments
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css"
script.js cody/bradtraversy/50projects50days/testimonial-box-switcher/script.js
84 Views
0 Comments
const testimonialsContainer = document.querySelector('.testimonials-container')
const testimonial = document.querySelector('.testimonial')
const userImage = document.querySelector('.user-image')
const username = document.querySelector('.username')
const role = document.querySelector('.role')

const testimonials = [
{