-
Notifications
You must be signed in to change notification settings - Fork 155
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
Tapasya Khatri C18 Cheetahs #102
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.
Great work on this project Tapasya! This project is green.
<h2>About Me</h2> | ||
<h5>Software Engineering <span>|</span> Product Design</h5> |
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.
In semantic HTML, heading tags should be used to indicate different sections of content, not as stylistic elements. Link
</section> | ||
</header> | ||
|
||
<main class="about-content"> |
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 use of semantic HTML!
stylesheets/index.css
Outdated
body { | ||
font-family: sans-serif; | ||
text-align: center; | ||
background-color: #dae1e7; | ||
} | ||
|
||
body { | ||
display: flex; | ||
flex-direction: column; | ||
min-height: 100vh; | ||
} |
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.
These can be combined into one section:
body { | |
font-family: sans-serif; | |
text-align: center; | |
background-color: #dae1e7; | |
} | |
body { | |
display: flex; | |
flex-direction: column; | |
min-height: 100vh; | |
} | |
body { | |
font-family: sans-serif; | |
text-align: center; | |
background-color: #dae1e7; | |
display: flex; | |
flex-direction: column; | |
min-height: 100vh; | |
} |
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.
Makes sense to combine. Thank you Jasmine!
} | ||
|
||
main.content { | ||
display: flex; |
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 use of a nested flex layout!
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.
Thank you!!
} | ||
|
||
.logo { | ||
font-family: 'Berkshire Swash'; |
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.
Pretty!
|
||
span { | ||
color: #fff; | ||
font-family: 'Berkshire Swash', cursive; |
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.
Minor note - here you are setting the font-family on the parent (.logo) and here in the span. One thing that you might consider is changing this to inherit. One of the nice things about using inherit here is that if you want to test with different fonts, you only have to change the font on .logo, and it will show up for both sections:
font-family: 'Berkshire Swash', cursive; | |
font-family: inherit; |
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.
Thank you, will try inherit.
.box { | ||
padding: 3em; | ||
position: relative; | ||
display: grid; |
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.
👍
Personal Portfolio Site
Congratulations! You're submitting your assignment!
Comprehension Questions