Skip to content

Commit 13254ca

Browse files
authored
Update hello-world.md
1 parent e0ca57f commit 13254ca

1 file changed

Lines changed: 2 additions & 20 deletions

File tree

content/docs/hello-world.md

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,14 @@ next: introducing-jsx.html
88

99
הדוגמה הקטנה ביותר ב-React נראית כך:
1010

11-
<<<<<<< HEAD
12-
```js
13-
ReactDOM.render(
14-
<h1>שלום עולם</h1>,
15-
document.getElementById('root')
16-
);
17-
=======
1811
```jsx
19-
<<<<<<< HEAD
20-
ReactDOM
21-
.createRoot(document.getElementById('root'))
22-
.render(<h1>Hello, world!</h1>);
23-
>>>>>>> 84ad3308338e2bb819f4f24fa8e9dfeeffaa970b
24-
=======
2512
const root = ReactDOM.createRoot(document.getElementById('root'));
26-
root.render(<h1>Hello, world!</h1>);
27-
>>>>>>> 3aac8c59848046fb427aab4373a7aadd7069a24c
13+
root.render(<h1>שלום עולם</h1>);
2814
```
2915

3016
היא מראה את הכותרת ״שלום עולם״ על הדף.
3117

32-
<<<<<<< HEAD
33-
[נסו את זה ב-CodePen](codepen://hello-world)
34-
=======
35-
**[Try it on CodePen](https://codepen.io/gaearon/pen/rrpgNB?editors=1010)**
36-
>>>>>>> 84ad3308338e2bb819f4f24fa8e9dfeeffaa970b
18+
**[נסו את זה ב-codepen](https://codepen.io/gaearon/pen/rrpgNB?editors=1010)**
3719

3820
לחצו על הקישור למעלה כדי לפתוח עורך אונליין. תרגישו בנוח לעשות כמה שינויים כדי שתראו איך הם משנים את התוצאה. לרוב העמודים במדריך הזה יהיו דוגמאות שניתנות לעריכה.
3921

0 commit comments

Comments
 (0)