Skip to content

Create App With Three Compnents#18

Open
ASPhillips8 wants to merge 1 commit intolearn-co-curriculum:masterfrom
ASPhillips8:reach-hooks-lab-asp
Open

Create App With Three Compnents#18
ASPhillips8 wants to merge 1 commit intolearn-co-curriculum:masterfrom
ASPhillips8:reach-hooks-lab-asp

Conversation

@ASPhillips8
Copy link

Create an app that use three Components. Update NavBar component that has two a elements. Update Home component to have a style attribute and h1 element with text. Update About component to have a img element, an h2 element and a p element with text
Screenshot 2024-06-07 at 1 40 33 PM

return <div>Home</div>;
return (
<div id="home">
<h1 style = {{color: "firebrick" }}>{name} is a Web Developer from {city}</h1>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<h1 style = {{color: "firebrick" }}>{name} is a Web Developer from {city}</h1>
<h1 style={{color: "firebrick" }}>{name} is a Web Developer from {city}</h1>

@Alselmi0
Copy link

Alselmi0 commented Sep 2, 2024

d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants