Skip to content

Commit

Permalink
used link font instead of css import
Browse files Browse the repository at this point in the history
  • Loading branch information
img02 committed Feb 12, 2023
1 parent ebd3084 commit 9a7313f
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 58 deletions.
70 changes: 41 additions & 29 deletions Library/index.html
Original file line number Diff line number Diff line change
@@ -1,38 +1,50 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Library</title>
<link rel="stylesheet" href="style.css">
</head>
<body>

<link rel="stylesheet" href="style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto&display=swap"
rel="stylesheet"
/>
</head>
<body>
<form onsubmit="" id="form">
<input type="text" id="add_book_title" placeholder="Title" required>
<input type="text" id="add_book_author" placeholder="Author" required>
<input type="number" min="1" id="add_book_pages" placeholder="Pages" required>
<select id="add_book_read" required>
<option value="Not Read">Not Read</option>
<input type="text" id="add_book_title" placeholder="Title" required />
<input type="text" id="add_book_author" placeholder="Author" required />
<input
type="number"
min="1"
id="add_book_pages"
placeholder="Pages"
required
/>
<select id="add_book_read" required>
<option value="Not Read">Not Read</option>
<option value="Read">Read</option>
</select>
<input type="submit" id="add_book_button" value="Add Book">
</select>
<input type="submit" id="add_book_button" value="Add Book" />
</form>


<table id="library_table" style="width:70%">
<tr>
<th>Title</th>
<th>Author</th>
<th>pages</th>
<th>Read</th>
</tr>
<tbody id="library-table-body"></tbody>
<table id="library_table" style="width: 70%">
<tr>
<th>Title</th>
<th>Author</th>
<th>pages</th>
<th>Read</th>
</tr>
<tbody id="library-table-body"></tbody>
</table>

<p id="todo">ToDo: add css styling and formatting / flexbox stuff. Pretty it up.</p>


<p id="todo">
ToDo: add css styling and formatting / flexbox stuff. Pretty it up.
</p>

<script src="library.js"></script>
</body>
</html>
</body>
</html>
1 change: 0 additions & 1 deletion Library/style.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
:root{
--backgroundColour:#EBE0C9;
--readButtonColour: #6DA394;
Expand Down
30 changes: 18 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home Page!</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Home Page!</title>
<link rel="stylesheet" href="style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto&display=swap"
rel="stylesheet"
/>
</head>
<body>
<grid class="proj_grid">
<a href="./Library/index.html" class="my_proj" >Library Proj.</a>
<a href="./tic-tac-toe/index.html" class="my_proj" >Tic-Tac-Toe</a>
<a href="./Library/index.html" class="my_proj">Library Proj.</a>
<a href="./tic-tac-toe/index.html" class="my_proj">Tic-Tac-Toe</a>
</grid>
</body>
</html>
</body>
</html>
2 changes: 0 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body {
/*https://cssgradient.io/swatches/*/
background: linear-gradient(90deg, #d53369 0%, #daae51 100%);
Expand Down
29 changes: 17 additions & 12 deletions tic-tac-toe/index.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tic Tac Toe</title>
<link rel="stylesheet" href="style.css">
</head>
<body>

<script src="tictactoe.js"></script>
</body>
</html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tic Tac Toe</title>
<link rel="stylesheet" href="style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto&display=swap"
rel="stylesheet"
/>
</head>
<body>
<script src="tictactoe.js"></script>
</body>
</html>
2 changes: 0 additions & 2 deletions tic-tac-toe/style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body {
background: linear-gradient(90deg, #00C9FF 0%, #92FE9D 100%);
font-family: 'Roboto', sans-serif;
Expand Down

0 comments on commit 9a7313f

Please sign in to comment.