Skip to content

Commit

Permalink
nesting other elements in a table
Browse files Browse the repository at this point in the history
  • Loading branch information
Shereen-Mohamed36 authored Apr 30, 2024
1 parent bccd482 commit 8be321a
Showing 1 changed file with 29 additions and 19 deletions.
48 changes: 29 additions & 19 deletions game-product-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,25 +124,35 @@ <h2 class="game-title">FIFA 23 Standard Edition English - PS5</h2>
<button gameid="2" gamename="FIFA 23 Standard Edition English - PS5" gameprice="$30" gameimage="https://api.egyptgamestore.com/uploads/products/xYdTVlc5y1olAJ9xgkDSPgJvdmVk7nh9paEF7Xhx.jpg" class="add-to-cart-related">Add To Cart</button>
</div>
<!-- Table for FIFA 23 -->
<div class="advanced-table">
<table>
<thead>
<tr>
<th>Age</th>
<th>Date of Publishing</th>
<th>Country</th>
</tr>
</thead>
<tbody>
<tr>
<td>12+</td>
<td>September 2022</td>
<td>UK</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="advanced-table">
<table>
<thead>
<tr>
<th>Age</th>
<th>Date of Publishing</th>
<th>Country</th>
</tr>
</thead>
<tbody>
<tr>
<td>12+</td>
<td>September 2022</td>
<td>
<!-- Nesting elements within the table cell -->
<div>
<p>UK</p>
<ul>
<li>London</li>
<li>Manchester</li>
<li>Liverpool</li>
</ul>
</div>
</td>
</tr>
</tbody>
</table>
</div>

<!-- Game 3 -->
<div class="listgames">
<a href="https://www.google.com/search?q=PlayStation+5+Console+Disc+Version" target="_blank">
Expand Down

0 comments on commit 8be321a

Please sign in to comment.