You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 2-ui/1-document/08-styles-and-classes/2-create-notification/task.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,14 @@ importance: 5
2
2
3
3
---
4
4
5
-
# Create a notification
5
+
# নোটিফিকেশন তৈরি
6
6
7
-
Write a function `showNotification(options)`that creates a notification: `<div class="notification">` with the given content. The notification should automatically disappear after 1.5 seconds.
7
+
`showNotification(options)`নামের একটি ফাংশন লিখুন যা একটি নোটিফিকেশন দেখাবে: `<div class="notification">`। নোটিফিকেশনটি ১.৫ সেকেন্ড পর অদৃশ্য হবে।
8
8
9
-
The options are:
9
+
options হবে:
10
10
11
11
```js
12
-
//shows an element with the text "Hello" near the right-top of the window
12
+
// "Hello" টেক্সট সহকারে একটি এলিমেন্ট দেখাবে window এর উপরের ডান কোণায়
13
13
showNotification({
14
14
top:10, // 10px from the top of the window (by default 0px)
15
15
right:10, // 10px from the right edge of the window (by default 0px)
@@ -21,4 +21,4 @@ showNotification({
21
21
[demo src="solution"]
22
22
23
23
24
-
Use CSS positioning to show the element at given top/right coordinates. The source document has the necessary styles.
24
+
CSS পজিশনিং স্ট্যাইল ব্যবহার করুন top/right এর জন্য।
0 commit comments