How to Change Images using by Javascript
HTML and JavaSCript Code
<!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">
<link rel="stylesheet" href="styles.css">
<title>practice</title>
</head>
<body>
<div class="container">
<div class="box-1">
<img src="/img/default.jpeg" alt="" class="main-image">
</div>
<div class="box-2">
<div class="childof-box-2" >
CSS Code
.container{
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
height: 100vh;
}
.main-image{
width: 400px;
height: auto;
}
.childof-box-2{
border: 2px solid grey;
margin: 5px;
border-radius: 6px;
}
.box-2 .childof-box-2 img{
width: 100px;
height: auto;
}
.childof-box-2.active{
border: 2px solid royalblue;
}
https://youtu.be/0RRUOIvmuWA I realized that I had my camera set up incorrectly, so when I upload…
https://youtu.be/C3oFfV20K_c Make Animated progress step bar using Figma
https://youtu.be/o3pSH_oRzko How to Hide All Grids in Figma
https://youtu.be/hdSUylKSsho How to Create Responsive Tool tip in Figma
https://youtu.be/AEiH7dSDhKo Having issue in figma pixel grid? learn how to show/ hide figma pixel grid…
https://youtu.be/iilYzHg9LwQ There are some issues going on in ventura OS its still in development phase…