Skip to content

Conversation

@GaliSagiv
Copy link

No description provided.

Copy link

@ShirYahav ShirYahav left a comment

Choose a reason for hiding this comment

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

Good work, the code is clean! Follow the notes I gave you, and completing the JavaScript exercise will be a great preparation for the next lesson

@@ -0,0 +1,126 @@
body {
background-color: hsl(235, 18%, 26%);

Choose a reason for hiding this comment

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

use css variables


@font-face {
font-family: "Roberto";
src: url("./fonts/MyFont-Regular.ttf") format("truetype");

Choose a reason for hiding this comment

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

Consider importing fonts in HTML ( in ) rather than only via CSS for better performance and compatibility

height: 65%;
width: 55%;
background-color: white;
border-radius: 30px;

Choose a reason for hiding this comment

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

Dont use px, use responsive units like rem or em (read about the differences)

display: none;
}

@media (max-width: 700px) {

Choose a reason for hiding this comment

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

nice use of @media

Choose a reason for hiding this comment

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

love that you seperated the css files! good work


@font-face {
font-family: "Roberto";
src: url("./fonts/MyFont-Regular.ttf") format("truetype");

Choose a reason for hiding this comment

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

Consider importing fonts in HTML ( in ) rather than only via CSS for better performance and compatibility


.container {
display: flex;
width: 300px;

Choose a reason for hiding this comment

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

same note for this file as well: dont use px

Choose a reason for hiding this comment

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

love the seperated files!! good practice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants