Introduction to React (attributes in JSX) - 7/14

i need help

Give the first

an id attribute of “large”.

Give the second

an id attribute of “small”.

i forgot how to do the attribute thing but this is what my thing looks like right now:

var p1 =


var p2 =



Do you think jumping all over the map is the right approach to learn coding? I don’t. The best place to start is HTML/CSS and JavaScript, before embarking on the React course. We need a good understanding of the core document API’s.

1 Like

Found with a google search
id attribute

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.