Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/components/About.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@ import React from "react";
import { image } from "../data/data";

function About() {
return <div>About</div>;
return <div id="about">
About
<img src="https://i.imgur.com/mV8PQxj.gif" alt="I made this"></img>
<p></p>
<h2>About Me</h2>


</div>;
Comment on lines +5 to +12

Choose a reason for hiding this comment

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

Watch your spacing boss man.

}

export default About;
4 changes: 3 additions & 1 deletion src/components/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import { name, city } from "../data/data.js";

function Home() {
// update the JSX being returned!
return <div>Home</div>;
return <div id="home">Home
<h1 style={{color: 'firebrick'}}>{name} is a Web Developer from {city}</h1>
</div>;
}

export default Home;
7 changes: 6 additions & 1 deletion src/components/NavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import React from "react";

function NavBar() {
// update the JSX being returned!
return <nav>NavBar</nav>;
return <>
<nav>NavBar
<a href="#home">Home</a>
<a href="#about">About</a>
</nav>
</>;
Comment on lines +5 to +10

Choose a reason for hiding this comment

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

Suggested change
return <>
<nav>NavBar
<a href="#home">Home</a>
<a href="#about">About</a>
</nav>
</>;
return <>
<nav>NavBar
<a href="#home">Home</a>
<a href="#about">About</a>
</nav>
</>;

}

export default NavBar;