Menu
×
×
Prawidłowy!

Ćwiczenie:

Wprowadź poprawną metodę ReactDOM, aby wyrenderować element React do DOM.

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

Not Correct

Click here to try again.

Correct!

Next ❯
ReactDOM.

  
  
  




Przejdź do w3schools.com
Zresetuj wynik
Zamknij to menu
"; txt += " '; txt += ' MOJA STRONA'; txt += ' '; txt += ' '; txt += ' '; txt += ' '; txt += ' '; txt += ' '; document.getElementById("userprogress").innerHTML = txt; x = Math.round((userscore/liczba ćwiczeń) * 100); stopnie = x * 3,6; jeśli (stopnie > 359) stopnie = 359; document.getElementById("mypage_circle1").setAttribute("d", descriptionArc(26, 35, 24, 0, 359)); document.getElementById("mypage_circle2").setAttribute("d", descriptionArc(26, 35, 24, 0, stopnie)); document.getElementsByClassName("exercisemenuinner")[0].style.top = "169px"; } } function polarToCartesian(centerX, centerY, radius, angleInDegrees) { var angleInRadians = (angleInDegrees-90) * Math.PI / 180.0; return { x: centerX + (promień * Math.cos(angleInRadians)), y: centerY + (radius * Math.sin(angleInRadians)) }; } funkcja opiszArc(x, y, radius, startAngle, endAngle){ var start = polarToCartesian(x, y, radius, endAngle); var end = polarToCartesian(x, y, radius, startAngle); var largeArcFlag = endAngle - startAngle

Ukończono 0 z 24 ćwiczeń:

Reaguj Rozpocznij
Reaguj ES6 Funkcja strzałki
Reaguj zmienne ES6
Reaguj metody macierzy ES6
Destrukcja React ES6
React ES6 Spread
Reaguj ES6 trójskładnikowy
Reaguj JSX
Reaguj Komponenty
Reaguj rekwizyty
Reaguj na wydarzenia
Reaguj warunkowe
Listy reakcji
React Hooki useState
React Hooks useEffect
Reaguj na styl CSS

×

Zresetować wynik?

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: