<!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>Document</title>
</head>
<body>
<div class="block">
<div class="inner"></div>
</div>
</body>
<style>
.block{
width: 450px;
height: 650px;
margin-left: 20px;
overflow-x: hidden;
}
.inner{ background-color: rgb(23, 81, 132);
border-radius: 35px;
transform: skew(8deg);
width: 500px;
margin-left: -100px;
height: 650px;
}
</style>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="style.css">
<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>Document</title>
</head>
<body>
<div class="photos-div">
<img src="img.jpg" alt="" width="260" height="500">
<img src="img2.jpg" alt="" width="400" height="500">
<div style="display: flex; flex-direction: column; ">
<img src="img3.jpg" alt="" height="244" width="260">
<img src="img4.jpg" alt=""height="244" width="260"></div>
</div>
</body>
</html>
*{
padding: 0;
margin: 0;
}
.photos-div{
display: flex;
flex-direction: row;
}
.photos-div img{
margin: 6px;
object-fit: cover;
}
<!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>Document</title>
</head>
<body>
<p class="p"></p>
</body>
<script>
let p = document.querySelector('.p')
let date = new Date
setInterval(() => {
if(date.getHours() == 8 && date.getMinutes() == 40){
p.textContent = "Урок окончен"
}
}, 0);
setInterval(() => {
if(date.getHours() == 8 && date.getMinutes() == 0){
p.textContent = "Урок начат"
}
}, 0);
</script>
</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>Document</title>
</head>
<body>
<img src="Имга1" alt="" class="img1" width="100" height="100">
</body>
<script>
let img = document.querySelector('.img1')
img.addEventListener('mouseover', function(){
if(img.getAttribute('src') === "Имга1"){
img.setAttribute('src', 'Имга2')
}
else{
img.setAttribute('src', 'Имга1')
}
})
img.addEventListener('mouseout', function(){
if(img.getAttribute('src') === "Имга1"){
img.setAttribute('src', 'Имга2')
}
else{
img.setAttribute('src', 'Имга1')
}
})
</script>
</html>