-
-
Notifications
You must be signed in to change notification settings - Fork 486
London10-Afsha Hossain-HTML/CSS - Week 1 #332
base: master
Are you sure you want to change the base?
Conversation
.menu { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: center; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is great. It is best practise using the class
button { | ||
padding: 1rem 1rem; | ||
margin: 1rem; | ||
font-size: 20px; | ||
border-radius: 10px; | ||
} | ||
|
||
main { | ||
padding: 2rem; | ||
} | ||
|
||
article { | ||
margin: 5rem 0; | ||
} | ||
|
||
|
||
article:first-child { | ||
font-size: larger; | ||
color: darkblue; | ||
} | ||
|
||
footer { | ||
text-align: center; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The styles are good. Maybe try and do it with the css class like you did on line 32
<main> | ||
<article> | ||
<h2>Experiencing Peace and Joy</h2> | ||
<img src="http://data.freehdw.com/bridge-over-the-green-river.jpg" alt="Lake reflecting green trees surronding the lake. There is a long wooden bridge over the lake"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we download the image and link to it with a relative path <img src="images/picture.jpg">
</article> | ||
<article> | ||
<h2>Experiencing Peace</h2> | ||
<img src="http://images.freehdw.com/800/nature-landscapes_other_wooden-house-in-forest_3295.jpg" alt="Small house in a forest. Morning sunrays falling over the trees and top of the house." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we download the image and link to it with a relative path <img src="images/picture.jpg">
<!-- Add your HTML markup here --> | ||
<!-- Remember: Use semantic HTML tags like <header>, <main>, <nav>, <footer>, <section> etc --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we delete these lines that are comments
|
||
</article> | ||
</main> | ||
<footer>© 2023 Created with 💚 by Afsha</footer> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use a html entity, see https://www.w3schools.com/html/html_entities.asp
©
@@ -16,6 +16,36 @@ | |||
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" /> | |||
</head> | |||
<body> | |||
<header> | |||
<nav> | |||
<h1>Peace and Joy</h1> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very good you only have 1 h1
… page
Volunteers: Are you marking this coursework? You can find a guide on how to mark this coursework in
HOW_TO_MARK.md
in the root of this repositoryYour Details
Homework Details
Notes
What did you find easy?
What did you find hard?
What do you still not understand?
Any other notes?