Thực đơn
×
×
Chính xác!

Bài tập:

Nhập phương thức ReactDOM chính xác để hiển thị phần tử React vào DOM.

ReactDOM.render (myElement, document.getElementById ('root'));

Not Correct

Click here to try again.

Correct!

Next ❯
ReactDOM.

  
  
  




Truy cập w3schools.com
Đặt lại điểm
Đóng menu này
"; txt + =" '; txt + = ' TRANG CỦA TÔI'; txt + = ' '; txt + = ' '; txt += ' '; txt += ' '; txt += ' '; txt + = ''; document.getElementById ("userprogress"). innerHTML = txt; x = Math.round ((điểm số người dùng / numberofexercises) * 100); độ = x * 3,6; nếu (độ> 359) độ = 359; document.getElementById ("mypage_circle1"). setAttribute ("d", descriptionArc (26, 35, 24, 0, 359)); document.getElementById ("mypage_circle2"). setAttribute ("d", descriptionArc (26, 35, 24, 0, độ)); document.getElementsByClassName ("tập thể dục") [0] .style.top = "169px"; }} function polarToCartesian (centerX, centerY, radius, angleInDegrees) {var angleInRadians = (angleInDegrees-90) * Math.PI / 180.0; return {x: centerX + (radius * Math.cos (angleInRadians)), y: centerY + (radius * Math.sin (angleInRadians))}; } function descriptionArc (x, y,bán kính, startAngle, endAngle) {var start = polarToCartesian (x, y, radius, endAngle); var end = polarToCartesian (x, y, radius, startAngle); var LargeArcFlag = endAngle - startAngle

Đã hoàn thành 0 trong số 24 bài tập:

React Bắt đầu
Hàm mũi tên React ES6
Biến React ES6
Phương thức mảng React ES6
Phản ứng hủy cấu trúc ES6
React ES6 Spread
React ES6 Ternary
React JSX
Các thành phần React
React Props
Sự kiện React
Điều kiện phản ứng
Danh sách phản ứng
Sử dụng React Hooks
Sử dụng React Hooks
Tạo kiểu CSS React

×

Đặt lại Điểm?

This will reset the score of ALL 24 exercises.

Are you sure you want to continue?



×

Congratulations!

You have finished all 24 React exercises.

Share your score: