Style class equal
Lesson 10 of 14 in Coddy's DOM Project - Calculator course.
Challenge
EasyTarget class ‘equal’:
- Set grid-column to span 3.
- Set the background color of your choice (not the same as other buttons).
- Add the below CSS code for hover effect:
.btn:hover { opacity: 0.8; }
Try it yourself
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Write HTML code here -->
<script src="script.js"></script>
</body>
</html>All lessons in DOM Project - Calculator
1Introduction
What will you build?3Frontend II
Style class calculator