React coding
Need help with this assignment?Get an original answer from a qualified tutor — from $10/page.
Get it written →Complete the code below to create React components named Department and Courses. Replace any unnecessary statements with relevant ones to achieve the desired output shown in the given screenshot.
Department.js
export default class Department extends Component {
render() {
return(
<section>
<h2> Information Tecnology </h2>
{this.props.children}
</section>
); }}
Courses.js
export default class Courses extends Component {
render() {
return();
}}
React app
import React from “react”;
import { render } from “react-dom”;
const courses = ‘IT 448 , IT 487, IT233 ‘;
render(
< Department >
< Courses><h3> {courses} </h3>< /Courses>
</Department > ,
document.getElementById(“root”) );
The output
Information Technology
IT 448 , IT 487 , IT233
Get a plagiarism-free answer to this question
Send us your instructions and we’ll match you with the best writer in your subject.
- 100% human-written, zero AI
- Turnitin report included
- Confidential — we never share your data
- Free revisions & refunds
