Updated 4-typing-game to hindi

This commit is contained in:
Sanjay
2020-12-30 18:42:19 +05:30
parent 03c213f60c
commit d53dddabee
3 changed files with 40 additions and 40 deletions

View File

@@ -1,18 +1,18 @@
*Complete this quiz by checking one answer per question.* _प्रति प्रश्न एक उत्तर की जाँच करके इस प्रश्नोत्तरी को पूरा करें._
1. Just about anything a user does on a page raises an event 1. किसी भी चीज़ के बारे में एक उपयोगकर्ता एक पृष्ठ पर एक घटना को बढ़ाता है
- [ ] true - [ ] सही
- [ ] false - [ ] गलत
2. आम घटनाओं में क्या शामिल हैं
2. Common events include
- [ ] click_event - [ ] click_event
- [ ] select_event - [ ] select_event
- [ ] input_event - [ ] input_event
- [ ] all of these - [ ] all of these
3. You can use anonymous functions to create event handlers 3. आप ईवेंट हैंडलर बनाने के लिए अनाम फ़ंक्शंस का उपयोग कर सकते हैं
- [ ] true - [ ] सही
- [ ] false - [ ] गलत

View File

@@ -1,20 +1,20 @@
*Complete this quiz in class.* _इस क्विज को कक्षा में पूरा करें_
1. Event-driven programming is when a user 1. इवेंट-संचालित प्रोग्रामिंग जब एक उपयोगकर्ता
- [ ] clicks on a button - [ ] एक बटन पर क्लिक करता है
- [ ] changes a value - [ ] एक वैल्यू बदलता है
- [ ] interacts with the page - [ ] पृष्ठ के साथ सहभागिता करता है
- [ ] any of the above - [ ] ऊपर मे से कोई
2. In procedural programming, functions are called 2. प्रक्रियात्मक प्रोग्रामिंग में, फंक्शन्स को कहा जाता है
- [ ] any time - [ ] किसी भी समय
- [ ] in a specific order - [ ] एक विशिष्ट क्रम में
- [ ] left to right - [ ] बाएं से दाएं
3. ईवेंट हैंडलर्स को पंजीकृत करने के लिए DOM में उजागर की गई सार्वभौमिक विधि को क्या जाता है
3. The universal method exposed in the DOM for registering event handlers is called
- [ ] addEventListener - [ ] addEventListener
- [ ] addListener - [ ] addListener
- [ ] addEvent - [ ] addEvent

View File

@@ -1,30 +1,30 @@
# Event-Driven Programming - Build a Typing Game # ईवेंट-चालित प्रोग्रामिंग - एक टाइपिंग गेम बनाएँ
## Introduction ## परिचय
Typing is one of the most underrated skills of the developer. The ability to quickly transfer thoughts from your head to your editor allows creativity to flow freely. One of the best ways to learn is to play a game! टाइपिंग डेवलपर के सबसे कम कौशल में से एक है.अपने संपादक से विचारों को जल्दी से स्थानांतरित करने की क्षमता रचनात्मकता को स्वतंत्र रूप से प्रवाह करने की अनुमति देती है। सीखने के सर्वोत्तम तरीकों में से एक खेल खेलना है!
> So, let's build a typing game! > तो, चलिए एक टाइपिंग गेम बनाते हैं!
You're going to use the JavaScript, HTML and CSS skills you have built up so far to create a typing game. The game will present the player with a random quote (we're using [Sherlock Holmes](https://en.wikipedia.org/wiki/Sherlock_Holmes) quotes) and time how long the player takes to type it out accurately. You're going to use the JavaScript, HTML and CSS skills you have built up so far to create a typing game. आप टाइपिंग गेम बनाने के लिए अब तक आपके द्वारा बनाए गए जावास्क्रिप्ट, HTML और सीएसएस कौशल का उपयोग करने जा रहे हैं. खेल एक यादृच्छिक उद्धरण के साथ खिलाड़ी को प्रस्तुत करेगा (हम [शर्लक होम्स](https://en.wikipedia.org/wiki/Sherlock_Holmes) का उद्धरण उपयोग कर रहे हैं) और खिलाड़ी को इसे सही ढंग से टाइप करने में कितना समय लगता है. आप टाइपिंग गेम बनाने के लिए अब तक आपके द्वारा बनाए गए जावास्क्रिप्ट, HTML और सीएसएस कौशल का उपयोग करने जा रहे हैं।
![demo](images/demo.gif) ![प्रदर्शन](images/demo.gif)
## Prerequisites ## आवश्यक शर्तें
This lesson assumes you're familiar with the following concepts: यह पाठ मानता है कि आप निम्नलिखित अवधारणाओं से परिचित हैं:
- Creating text input and button controls - टेक्स्ट इनपुट और बटन नियंत्रण बनाना
- CSS and setting styles using classes - क्लासेज का उपयोग करके सीएसएस और शैलियों की स्थापना
- JavaScript basics - जावास्क्रिप्ट मूल बातें
- Creating an array - एक सरणी बनाना
- Creating a random number - एक यादृच्छिक संख्या बनाना
- Getting the current time - वर्तमान समय पाना
## Lesson ## पाठ
[Creating a typing game by using event driven programming](./typing-game/README.md) [इवेंट संचालित प्रोग्रामिंग का उपयोग करके एक टाइपिंग गेम बनाना](./typing-game/README.md)
## Credits ## आभार सूची
Written with ♥️ by [Christopher Harrison](http://www.twitter.com/geektrainer) [Christopher Harrison](http://www.twitter.com/geektrainer) द्वारा ♥️ के साथ लिखा गया है