Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Place a heading that says'Pictures'before the picture of the dog. Include an appropricte icon #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
4 changes: 3 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Document Two Sections</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
Expand Down Expand Up @@ -32,7 +33,8 @@ <h1>Excepteur Sint Occaecat</h1>
</a>
</li>
</ul>
<h2 class="point">Duis Aute</h2>
<h2 class="point">Pictures</h2>
Copy link
Member

@nbkhope nbkhope Jun 21, 2024

Choose a reason for hiding this comment

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

  1. Hi, the heading should be immediately before the <img>, not the paragraph.

  2. You should place the icon to the left-hand side of the text Pictures, like this: 📷Pictures
    You can just move the <i> tag inside the <h2>.

image

<i class="fa fa-camera" aria-hidden="true"></i>
<p>Quis nostrud exercitation ullamco <a href="https://yahoo.com" target="_blank">laboris</a> nisi ut aliquip ex ea commodo consequat.</p>
<img src="https://www.rd.com/wp-content/uploads/2016/01/04-dog-breeds-dalmation.jpg" width="150" alt="a Dalmatian dog" id="thumbnail">
<button type="button" onclick="nextImage()">Next Image</button>
Expand Down