Embed

Whenever I try to embed code, it doesn’t show up in the preview and it doesn’t insert.

<!DOCTYPE html>
<html>
<head>
<title>Main</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8"/>
<style>
 .card{
 width: 260px;
 height: 260px;
 background-image: url("Images/ASL.png");
 background-repeat: no-repeat;
 float: left;
 margin:20px;
 }
 .card:hover{
 width: 260px;
 height: 260px;
 background-image: url("Images/Ear.png");
 background-repeat: no-repeat;
 float: left;
 margin:20px;
 }
 video{
 width: 400px;
 height: auto;
 }
</style>
<body>
<div class="card"></div>
</body>
</html>

Hey, @APanzica :waving_hand: Welcome to the community.

Can you tell us more about your project? Are you adding this code to a HubSpot-created page? Or on a custom-coded website you are creating outside our CMS? If you are using HubSpot, where in-app are you trying to add this code?

Looking at your code. I took it and dropped it into VS Code along with a few of my own test images. It loads the card and switches images when hovering as expected.

Thanks for the additional information! — Jaycee