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
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
content="Web site created using create-react-app"
/>
<link
href="https://fonts.googleapis.com/css?family=Lovelo|Plexifont|+BV=swap"
href="https://fonts.googleapis.com/css?family=Lovelo|Plexifont+BV=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./style.css" />
Expand Down
10 changes: 10 additions & 0 deletions public/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
html{
background-color: black;
}

@font-face {
font-family: 'Lovelo Black', monospace;
src: url('Lovelo Black.otf');
}

@font-face {
font-family: 'plexifont', monospace;
src: url('plexifont.ttf');
}
10 changes: 10 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
@font-face {
font-family: 'Lovelo Black', monospace;
src: url('Lovelo Black.otf');
}

@font-face {
font-family: 'plexifont', monospace;
src: url('plexifont.ttf');
}

.App {
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/nameInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const NameInput = ({ name, setName }) => {
}}
>
<input
class="enterName"
className="enterName"
type="text"
required
value={tempName}
Expand Down
9 changes: 5 additions & 4 deletions src/components/nameOutput.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ const NameOutput = ({ name }) => {
};

return (
<section className="nameOutput">
<div className="nameOutput">
<h1 className="nameOutputh1">{randomElement}</h1>
<h3 className="nameOutputh3">It's your turn to play!</h3>
<button className="outputButton">Next Player</button>
</section>

<button className="outputButton" onClick={handleClick}>
Next Player
</button>
</div>
);
};

Expand Down