Skip to content

Commit f4acebe

Browse files
committed
added files
1 parent c2d752d commit f4acebe

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

google-news/index.html

+1-6
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,4 @@ <h1> Google News </h1>
2222
</div>
2323
<script src="index.js"></script>
2424
</body>
25-
</html>
26-
27-
<!-- <div id="inner">
28-
<img id="img-id" src="news.jpeg" alt="News">
29-
<p id="news"> Some Random for texting the working of my css element <br> <a href="www.google.com"> Read More </a> </p>
30-
</div> -->
25+
</html>

google-news/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ function createNewsBlock(article) {
5959
p.append(article.description);
6060
p.append(emptyDiv);
6161
p.append(emptyDiv);
62+
p.append("Read more at: ");
6263
p.append(a);
6364

6465
div.append(img);

google-news/style.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,6 @@ button:hover {
8888
}
8989

9090
.space {
91-
margin-top: 10px;
91+
width: 10px;
92+
height: 10px;
9293
}

0 commit comments

Comments
 (0)