Skip to content

Commit 407a41e

Browse files
committed
Translate Hello World
1 parent 99022e3 commit 407a41e

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

content/docs/hello-world.md

+15-16
Original file line numberDiff line numberDiff line change
@@ -6,45 +6,44 @@ prev: cdn-links.html
66
next: introducing-jsx.html
77
---
88

9-
The smallest React example looks like this:
9+
Contoh React yang paling sederhana adalah seperti ini:
1010

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

18-
It displays a heading saying "Hello, world!" on the page.
18+
React menampilkan *heading* pada halaman bertuliskan "Halo, dunia!".
1919

2020
[](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+
Klik tautan di atas untuk membuka editor daring. Anda dibebaskan untuk membuat perubahan dan lihat bagaimana perubahan itu mempengaruhi keluaran. Mayoritas dari halaman yang ada dalam panduan ini akan memiliki contoh yang dapat diubah seperti ini.
2323

2424

25-
## How to Read This Guide {#how-to-read-this-guide}
25+
## Bagaimana Membaca Panduan Ini {#how-to-read-this-guide}
2626

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.
27+
Dalam panduan ini, kita akan membahas tentang kerangka dari aplikasi React: elemen dan komponen. Setelah Anda menguasainya, Anda dapat membuat aplikasi yang kompleks dari bagian-bagian kecil yang bisa digunakan ulang.
2828

2929
>Tip
3030
>
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.
31+
>Panduan ini didesain untuk orang yang lebih suka **mempelajari konsep selangkah demi selangkah**. Jika Anda lebih suka untuk belajar sambil mencoba, silakan lihat [tutorial praktis](/tutorial/tutorial.html) kami. Anda mungkin merasa panduan ini dan tutorial tersebut saling melengkapi satu sama lain.
3232
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.
33+
Ini adalah bab pertama dalam panduan langkah demi langkah tentang konsep utama React. Anda dapat menemukan daftar semua babnya dalam navigasi *sidebar*. Jika Anda membaca ini menggunakan perangkat bergerak, Anda bisa mengakses navigasi dengan menekan tombol yang ada di pojok kanan bawah layar Anda.
3434

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.
35+
Setiap bab dalam panduan ini dibangun di atas pengetahuan yang diperkenalkan pada bab sebelumnya. **Anda bisa mempelajari sebagian besar dari React dengan membaca panduan bab “Konsep Utama” secara berurutan.** Sebagai contoh, [Memperkenalkan JSX”](/docs/introducing-jsx.html) adalah bab selanjutnya setelah ini.
3636

37-
## Knowledge Level Assumptions {#knowledge-level-assumptions}
37+
## Asumsi Tingkat Pengetahuan {#knowledge-level-assumptions}
3838

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.
39+
React adalah *library* JavaScript, jadi kami akan berasumsi bahwa Anda memiliki pemahaman dasar tentang bahasa JavaScript. **Jika Anda tidak merasa percaya diri, kami merekomendasikan untuk [melalui tutorial JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript) untuk mengecek tingkat pengetahuan Anda** dan memungkinkan Anda untuk mengikuti panduan ini tanpa tersesat. Mungkin akan memakan waktu Anda sekitar 30 menit hingga 1 jam, tetapi sebagai hasilnya Anda tidak perlu merasa bahwa Anda sedang belajar React dan JavaScript dalam waktu bersamaan.
4040

41-
>Note
41+
>Catatan
4242
>
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.
43+
>Contoh pada panduan ini terkadang menggunakan beberapa sintaksis JavaScript yang baru. Jika Anda belum pernah menggunakan JavaScript dalam beberapa tahun terakhir, [tiga poin berikut](https://gist.github.com/gaearon/683e676101005de0add59e8bb345340c) akan membantu sebagian besar perjalanan Anda.
4444
45+
## Ayo Mulai! {#lets-get-started}
4546

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.
47+
Terus gulir ke bawah dan Anda akan menemukan tautan ke [bab selanjutnya dari panduan ini](/docs/introducing-jsx.html) tepat sebelum *footer* laman.
4948

5049

0 commit comments

Comments
 (0)