Skip to content
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

added flexbox, some styles #532

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leerobertdyer
Copy link
Member

Hello, just adding some style to this html page. @Neha I'm just testing things, let me know if this isn't working and thank you!

@zero-to-mastery-bot
Copy link

🙏 Thanks for your pull request @leerobertdyer, The team will now review and merge this request. In the mean time why not check out some of the other opensource projects available, contributions are greatly appreciated!

Some of the most popular are


PR Statistics

#️⃣ PR Number: Line Additions: 🗑️ Line Deletions:
532 67 40
📑 Files Changed: Repo Stars: 🔱 Total Forks:
2 201 532

Copy link
Contributor

@Neha Neha left a comment

Choose a reason for hiding this comment

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

Do not start the file names with uppercase.

@@ -1,50 +1,79 @@
body
{
background:radial-gradient(#00faff ,#f981f3 60%);
background:radial-gradient(#1f3300 ,#000000 60%);
border: solid black 40px;
Copy link
Contributor

Choose a reason for hiding this comment

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

to have the consistency please use the hexacode #000 instead of black string

animation: type 1.5s steps(17);
h1 {
display: block;
animation: type 1.7s steps(29);
overflow: hidden;
white-space: nowrap;
font-family: monospace;
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be a global style. Hence, move this to the body

width: 29ch;
color:rgb(109, 0, 0);
background: rgb(180, 177, 177);
margin: 10px, 0, 0, 0;
Copy link
Contributor

Choose a reason for hiding this comment

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

margin correct syntax is : margin: 10px 0 0 0 (no comma)

margin: 10px, 0, 0, 0;
padding: 0;
}
marquee {
Copy link
Contributor

Choose a reason for hiding this comment

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

border: double rgb(252, 225, 190) 51px;
}

.Can {
Copy link
Contributor

Choose a reason for hiding this comment

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

the class name should not start with the uppercase to have consistency and have a clear name which reflect what the class is doing

padding-bottom: 1vmax;
}

#startButtonId {
Copy link
Contributor

Choose a reason for hiding this comment

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

Formatting is missing.

Consistency in the units of font-size, margin, and colour is missing. It is prefer to stick to one unit

<h1>Welcome 2 my open source code.</h1>
<!-- Hi there! What's your name? Should we add it in this h1 above? -->
<marquee>You can follow me on<br/>👇👇👇👇👇👇👇👇</marquee>
<a href="https://www.youtube.com/channel/UCf_Rde_c0kf093lkPsk1P1w">My youtube channel</a>
<div class="Can">
<div id="startButtonId">
Copy link
Contributor

@Neha Neha Aug 11, 2023

Choose a reason for hiding this comment

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

the id name should not have ID in it. Rename it to "startButton" Instead of adding an extra div on a tag. Style a tag to look like a button

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.

None yet

2 participants