Skip to content

Commit dcc1bf0

Browse files
committed
translate tic-tact-toe tutorial till 393
1 parent d15f764 commit dcc1bf0

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/content/learn/tutorial-tic-tac-toe.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -338,36 +338,36 @@ import './styles.css';
338338
import App from './App';
339339
```
340340

341-
Lines 1-5 bring all the necessary pieces together:
341+
লাইন ১-৫ প্রয়োজনীয় সবকিছু একত্রিত করে:
342342

343343
* React
344-
* React's library to talk to web browsers (React DOM)
345-
* the styles for your components
346-
* the component you created in `App.js`.
344+
* ওয়েব ব্রাউজারের সাথে কথা বলার জন্য React-এর লাইব্রেরি (React DOM)
345+
* আপনার কম্পোনেন্টগুলির জন্য স্টাইলস
346+
* আপনি `App.js`-এ যে কম্পোনেন্ট তৈরি করেছেন।
347347

348-
The remainder of the file brings all the pieces together and injects the final product into `index.html` in the `public` folder.
348+
ফাইলের বাকি অংশ সবকিছু একত্রিত করে এবং `public` ফোল্ডারের `index.html`-এ ফাইনাল প্রোডাক্ট ইনজেক্ট করে।
349349

350-
### Building the board {/*building-the-board*/}
350+
### বোর্ড তৈরি করা {/*building-the-board*/}
351351

352-
Let's get back to `App.js`. This is where you'll spend the rest of the tutorial.
352+
চলুন আবার `App.js`-এ ফিরে যাই। এখানেই আপনি টিউটোরিয়ালের বাকি অংশ কাটাবেন।
353353

354-
Currently the board is only a single square, but you need nine! If you just try and copy paste your square to make two squares like this:
354+
বর্তমানে বোর্ডটি কেবল একটি স্কোয়ার, কিন্তু আপনার নয়টি দরকার! যদি আপনি শুধু আপনার স্কোয়ারটি কপি-পেস্ট করে দুটি স্কোয়ার তৈরি করার চেষ্টা করেন, যেমন:
355355

356356
```js {2}
357357
export default function Square() {
358358
return <button className="square">X</button><button className="square">X</button>;
359359
}
360360
```
361361

362-
You'll get this error:
362+
আপনি এই এররটি পাবেন:
363363

364364
<ConsoleBlock level="error">
365365

366-
/src/App.js: Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX Fragment `<>...</>`?
366+
/src/App.js: Adjacent JSX এলিমেন্ট অবশ্যই enclosing ট্যাগ এ wrap করা থাকতে হবে। আপনি কি একটি JSX Fragment `<>...</>` চান?
367367

368368
</ConsoleBlock>
369369

370-
React components need to return a single JSX element and not multiple adjacent JSX elements like two buttons. To fix this you can use *Fragments* (`<>` and `</>`) to wrap multiple adjacent JSX elements like this:
370+
React কম্পোনেন্টগুলিকে অবশ্যই একটি একক JSX এলিমেন্ট ফেরত দিতে হবে, একাধিক পাশাপাশি JSX এলিমেন্ট (যেমন দুটি বাটন) নয়। এটি ঠিক করতে আপনি *Fragments* (`<>` এবং `</>`) ব্যবহার করতে পারেন একাধিক পাশাপাশি JSX এলিমেন্ট মোড়ানোর জন্য, যেমন:
371371

372372
```js {3-6}
373373
export default function Square() {
@@ -380,17 +380,17 @@ export default function Square() {
380380
}
381381
```
382382

383-
Now you should see:
383+
এখন আপনি দেখবেন:
384384

385385
![two x-filled squares](../images/tutorial/two-x-filled-squares.png)
386386

387-
Great! Now you just need to copy-paste a few times to add nine squares and...
387+
দারুণ! এখন আপনাকে শুধু কয়েকবার কপি-পেস্ট করতে হবে নয়টি স্কোয়ার যোগ করার জন্য এবং...
388388

389389
![nine x-filled squares in a line](../images/tutorial/nine-x-filled-squares.png)
390390

391-
Oh no! The squares are all in a single line, not in a grid like you need for our board. To fix this you'll need to group your squares into rows with `div`s and add some CSS classes. While you're at it, you'll give each square a number to make sure you know where each square is displayed.
391+
ওহ না! সব স্কোয়ার এক লাইনে রয়েছে, আমাদের বোর্ডের মতো গ্রিড আকারে নয়। এটি ঠিক করতে হলে আপনাকে আপনার স্কোয়ারগুলোকে `div` দিয়ে রো-তে গ্রুপ করতে হবে এবং কিছু CSS ক্লাস যোগ করতে হবে। এই সময়ে, আপনি প্রতিটি স্কোয়ারকে একটি নাম্বার দেবেন যাতে আপনি নিশ্চিত হতে পারেন প্রতিটি স্কোয়ার কোথায় প্রদর্শিত হচ্ছে।
392392

393-
In the `App.js` file, update the `Square` component to look like this:
393+
`App.js` ফাইলে, `Square` কম্পোনেন্ট আপডেট করুন এভাবে দেখানোর জন্য:
394394

395395
```js {3-19}
396396
export default function Square() {

0 commit comments

Comments
 (0)