Updated 7.1 to hindi

pull/121/head
Sanjay 4 years ago
parent bd5fd751ba
commit 0a7590c679

@ -1,18 +1,18 @@
*Complete this quiz by checking one answer per question.*
_प्रति प्रश्न एक उत्तर की जाँच करके इस प्रश्नोत्तरी को पूरा करें._
1. HTML templates are part of the DOM by default
1. HTML टेम्पलेट डिफ़ॉल्ट रूप से DOM का हिस्सा हैं
- [ ] true
- [ ] false
- [ ] सही
- [ ] गलत
2. Which part of the URL is needed for routing?
2. रूटिंग के लिए URL के किस भाग की आवश्यकता है?
- [ ] window.location.pathname
- [ ] window.location.origin
- [ ] both
- [ ] दोनों
3. `History.pushState()` फ़ंक्शन को कॉल करते समय का घटना का नाम क्या है?
3. What's the name of the event triggered when calling the `history.pushState()` function?
- [ ] `pushstate`
- [ ] `popstate`
- [ ] `navigate`
- [ ] `navigate`

@ -1,19 +1,19 @@
*A quick warm-up about web apps*
_वेब ऐप्स के बारे में एक त्वरित वार्म-अप_
*Complete this quiz in class.*
_इस क्विज को कक्षा में पूरा करें._
1. You need to create multiple HTML files to display different screens in a web app
1. वेब ऐप में अलग-अलग स्क्रीन प्रदर्शित करने के लिए आपको कई HTML फाइल बनाने की आवश्यकता है
- [ ] true
- [ ] false
- [ ] सही
- [ ] गलत
2. You can store and persist data locally in a web app
2. आप वेब ऐप में स्थानीय रूप से डेटा स्टोर और बनाये रख सकते हैं
- [ ] true
- [ ] false
- [ ] सही
- [ ] गलत
3. What's the best data provider for a web app?
3. वेब ऐप के लिए सबसे अच्छा डेटा प्रदाता क्या है?
- [ ] A local database
- [ ] A JavaScript object
- [ ] A server with a JSON API
- [ ] एक स्थानीय डेटाबेस
- [ ] एक जावास्क्रिप्ट वस्तु
- [ ] JSON API वाला सर्वर

@ -1,14 +1,14 @@
# Improve the routing
# रूटिंग में सुधार करें
## Instructions
## अनुदेश
The routes declaration contains currently only the template ID to use. But when displaying a new page, a bit more is needed sometimes. Let's improve our routing implementation with two additional features:
मार्गों की घोषणा में वर्तमान में उपयोग करने के लिए केवल टेम्पलेट आईडी है। लेकिन एक नया पृष्ठ प्रदर्शित करते समय, कभी-कभी थोड़ा और अधिक की आवश्यकता होती है। आइए दो अतिरिक्त सुविधाओं के साथ हमारे रूटिंग कार्यान्वयन में सुधार करें:
- Give titles to each template and update the window title with this new title when the template changes.
- Add an option to run some code after the template changes. We want to print `'Dashboard is shown'` in the developer console every time the dashboard page is displayed.
- प्रत्येक टेम्पलेट को शीर्षक दें और जब टेम्पलेट बदलता है तो इस नए शीर्षक के साथ विंडो शीर्षक को अपडेट करें।
- टेम्पलेट परिवर्तन के बाद कुछ कोड चलाने के लिए एक विकल्प जोड़ें। हम हर बार डैशबोर्ड पृष्ठ प्रदर्शित होने पर डेवलपर कंसोल में `'Dashboard is shown'` प्रिंट करना चाहते हैं
## Rubric
## शीर्ष
| Criteria | Exemplary | Adequate | Needs Improvement |
| -------- | ---------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- |
| | The two features are implemented and working. Title and code addition also work for a new route added in the `routes` declaration. | The two features work, but the behavior is hardcoded and not configurable via the `routes` declaration. Adding a third route with title and code addition does not work or works partially. | One of the features is missing or not working properly. |
| मानदंड | उदाहरणात्मक | पर्याप्त | सुधार की जरूरत |
| ------ | ------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| | दो विशेषताएं कार्यान्वित और काम कर रही हैं। शीर्षक और कोड जोड़ भी `routes` घोषणा में जोड़े गए एक नए मार्ग के लिए काम करते हैं. | दो सुविधाएँ काम करती हैं, लेकिन व्यवहार कठिन है और `routes` घोषणा के माध्यम से विन्यास योग्य नहीं है। शीर्षक और कोड जोड़ के साथ तीसरा मार्ग जोड़ना आंशिक रूप से काम या काम नहीं करता है. | सुविधाओं में से एक गायब है या ठीक से काम नहीं कर रहा है. |

Loading…
Cancel
Save