
Crafting engaging content on #JavaScript, #CSS, and #HTML for the Twitter community. Here to make web development more accessible and enjoyable for all.
London, England
Joined March 2021
- Tweets358
- Following1K
- Followers1.1K
- Likes288
Is there any friend from the #100DaysOfCode community here? If yes, let me know I will treat them to coffee ST. George's circus square
Near Westminster and Waterloo London.
4
154
Frosted Glass Effect - CSS
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<style>
body {
background-color: #ADD8E6;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.frosted-glass {
width: 300px;
height: 200px;
background: rgba(255, 255, 244, 0); /* Semi-transparent white */
backdrop-filter: blur(10px); /* Applying the blur */
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
border-radius: 10px;
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
backdrop-filter: blur( 4px );
-webkit-backdrop-filter: blur( 4px );
border: 1px solid rgba( 255, 255, 255, 0.18 );
}
.frosted-glass p {
color: white;
text-align: center;
}
</style>
</head>
<body>
<div class="frosted-glass">
<p>Some text behind a frosted glass effect.</p>
</div>
</body>
</html>
89
Finding duplicate elements in an array
This code uses a Map to find duplicate elements in an array.
55
#MondayMotivation
💡 JavaScript Challenge: Can you predict the output of this code?
1
75







