-
Notifications
You must be signed in to change notification settings - Fork 91
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
Kimberly's project #63
base: master
Are you sure you want to change the base?
Conversation
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.
Hi Kimberly! Thanks for sharing your page with me. You did a great job! So inspiring images, I want to travel asap. Good structure of your repo and your files. Keep up the good work and continue to use semantic HTML elements 👍
<link | ||
href="https://fonts.googleapis.com/css2?family=MuseoModerno:wght@300&display=swap" | ||
rel="stylesheet" | ||
/> |
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.
Nice font!
<h1>Hello there! 👋🏼</h1> | ||
<img | ||
src="images/shibuya-top.png" | ||
alt="Shibuya's scramble crossing by night" |
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.
Great that you added alt tags - it's super important!
margin: 0px; | ||
} | ||
|
||
/* How can I delete the minimal border between webpage and big image on top?*/ |
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.
I can't see any 🤔
color: blue; | ||
font-family: MuseoModerno; | ||
font-size: 100px; | ||
/* How can I make the image align with the size of the text?*/ |
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.
I'm not sure what you mean - I think this looks super cool!
} | ||
|
||
img { | ||
/* I don't understand why I need to work with "block" here... */ |
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 img element's default is to display inline, and if you don't want to images next to each other, display: block; is a good choice
margin-left: auto; | ||
margin-right: auto; | ||
width: 50%; | ||
/* Can I somehow format the height of all images so that they are the same height and still look good?*/ |
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.
You can decide a fixed height, for sure! Just make sure to also add the object-fit: cover; to avoid distortion.
190, | ||
0.2 | ||
); /* Background for p with 30% opacity. RGBA is used to avoid the text to become opaque as well! */ | ||
/* How can I add padding to p AND keep the background color? Like this it doesn ot work: padding: 20px 0px 20px 0px;*/ |
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.
It works for me, can you expand what you mean?
No description provided.