I'm in this course by Brad Traversy's 50 Projects 50 Days course. In the Day 26 - Double Vertical Slider, the Font Awesome CDN he's using is version 5.15.1 which is a really outdated one. I am using version 6.1.1 but my icons are not loading even though I tried to debug it. I want the arrow-down and arrow-up icons in my down-button and up-button classes respectively.
Here's my code:
@import url('https://fonts.googleapis.com/css?family=Open+Sans');
* {
box-sizing: border-box;
}
body {
font-family: 'Open Sans', sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
overflow: hidden;
margin: 0;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" referrerpolicy="no-referrer"
/>
<link rel="stylesheet" href="style.css" />
<title>Vertical Slider</title>
</head>
<body>
<div class="slider-container">
<div class="left-slide"></div>
<div class="right-slide"></div>
<div class="action-buttons">
<button class="down-button">
<i class="fa-solid fa-arrow-down"></i>
</button>
<button class="up-button">
<i class="fa-solid fa-arrow-down"></i>
</button>
</div>
</div>
<script src="https://kit.fontawesome.com/3cff899477.js"></script>
<script src="script.js"></script>
</body>
</html>
Thank You!