Skip to content

Commit 9c948a1

Browse files
authored
Merge pull request #8 from bromy/master
Translate hello-world.md
2 parents ce87d9f + 1978888 commit 9c948a1

File tree

1 file changed

+27
-21
lines changed

1 file changed

+27
-21
lines changed

content/docs/hello-world.md

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,56 @@
11
---
22
id: hello-world
3-
title: Hello World
3+
title: שלום עולם
44
permalink: docs/hello-world.html
55
prev: cdn-links.html
66
next: introducing-jsx.html
77
---
88

9-
The smallest React example looks like this:
9+
הדוגמה הקטנה ביותר ב-React נראית כך:
1010

1111
```js
1212
ReactDOM.render(
13-
<h1>Hello, world!</h1>,
13+
<h1>שלום עולם</h1>,
1414
document.getElementById('root')
1515
);
1616
```
1717

18-
It displays a heading saying "Hello, world!" on the page.
18+
היא מראה את הכותרת ״שלום עולם״ על הדף.
1919

20-
[](codepen://hello-world)
20+
[נסו את זה ב-CodePen](codepen://hello-world)
2121

22-
Click the link above to open an online editor. Feel free to make some changes, and see how they affect the output. Most pages in this guide will have editable examples like this one.
22+
יש ללחוץ על הקישור מעל כדי לפתוח את אתר העריכה. הרגישו נוח לעשות כמה שינויים כדי שתראו איך הם משנים את התוצאה.
23+
לרוב העמודים במדריך הזה יהיו דוגמאות שניתנות לעריכה.
2324

2425

25-
## How to Read This Guide {#how-to-read-this-guide}
26+
## כיצד לקרוא את המדריך הזה {#how-to-read-this-guide}
2627

27-
In this guide, we will examine the building blocks of React apps: elements and components. Once you master them, you can create complex apps from small reusable pieces.
28+
במדריך אנו נבחן את החלקים של אפליקציות React: יסודות וקומפוננטים.
29+
ברגע שתשלטו בהם תוכלו ליצור בעזרת חלקים קטנים ועם שימוש חוזר אפליקציות מורכבות.
2830

29-
>Tip
31+
>עצה
3032
>
31-
>This guide is designed for people who prefer **learning concepts step by step**. If you prefer to learn by doing, check out our [practical tutorial](/tutorial/tutorial.html). You might find this guide and the tutorial complementary to each other.
33+
>מדריך זה נועד לאנשים שמעדיפים ללמוד רעיונות צעד אחר צעד.
34+
אם הנכם מעדיפים ללמוד על ידי עשייה, בדקו את [ההדרכה המעשית](/tutorial/tutorial.html) שלנו. ייתכן שתמצאו שהמדריך וההדרכה המעשית משלימים אחד את השני.
3235

33-
This is the first chapter in a step-by-step guide about main React concepts. You can find a list of all its chapters in the navigation sidebar. If you're reading this from a mobile device, you can access the navigation by pressing the button in the bottom right corner of your screen.
36+
זה הפרק הראשון במדריך שמלמד צעד אחר צעד על הרעיונות העיקריים של React.
37+
תוכלו למצוא רשימה של כל הפרקים בסרגל הניווט.
38+
אם אתם קוראים את זה ממכשיר נייד, אתם יכולים להיכנס לניווט על ידי לחיצה על הכפתור הנמצא בצד הימני של תחתית המסך.
3439

35-
Every chapter in this guide builds on the knowledge introduced in earlier chapters. **You can learn most of React by reading the “Main Concepts” guide chapters in the order they appear in the sidebar.** For example, [“Introducing JSX”](/docs/introducing-jsx.html) is the next chapter after this one.
40+
כל פרק במדריך הזה נבנה על הידע שהוצג
41+
בפרקים קודמים. **אתם יכולים ללמוד את רוב React על ידי קריאת פרקי ״הרעיונות העיקריים״ לפי סדר הופעתם בסרגל**.
42+
לדוגמא, ["מציגים JSX"](/docs/introducing-jsx.html) הוא הפרק הבא.
3643

37-
## Knowledge Level Assumptions {#knowledge-level-assumptions}
44+
## הערכת רמת הידע {#knowledge-level-assumptions}
3845

39-
React is a JavaScript library, and so we'll assume you have a basic understanding of the JavaScript language. **If you don't feel very confident, we recommend [going through a JavaScript tutorial](https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript) to check your knowledge level** and enable you to follow along this guide without getting lost. It might take you between 30 minutes and an hour, but as a result you won't have to feel like you're learning both React and JavaScript at the same time.
46+
React הוא ספריית JavaScript.
47+
אנו מניחים שיש לכם הבנה בסיסית של JavaScript.
48+
**אם אינכם מרגישים בטוחים בעצמכם אנו ממליצים שתעברו [הדרכה ב-JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript) לבדיקת רמת הידע שלכם** ולאפשר אתכם לעקוב אחר המדריך בלי ללכת לאיבוד. זה יכול לקחת 30 דקות עד שעה, אבל כתוצאה, לא תרגישו שאתם לומדים React ו-JavaScript באותו הזמן.
4049

41-
>Note
50+
>הערה
4251
>
43-
>This guide occasionally uses some of the newer JavaScript syntax in the examples. If you haven't worked with JavaScript in the last few years, [these three points](https://gist.github.com/gaearon/683e676101005de0add59e8bb345340c) should get you most of the way.
44-
45-
46-
## Let's Get Started! {#lets-get-started}
47-
48-
Keep scrolling down, and you'll find the link to the [next chapter of this guide](/docs/introducing-jsx.html) right before the website footer.
52+
>מדי פעם, המדריך הזה משתמש בתחביר JavaScript חדש בדוגמאות. אם לא עבדתם עם JavaScript בשנים האחרונות, [שלוש הנקודות האלה](https://gist.github.com/gaearon/683e676101005de0add59e8bb345340c) אמורים לעדכן אתכם.
4953
54+
## בואו נתחיל! {#lets-get-started}
5055

56+
המשיכו לגלול ותמצאו את הקישור [לפרק הבא במדריך הזה](/docs/introducing-jsx.html), מיד לפניי התחתית של האתר.

0 commit comments

Comments
 (0)