-
Notifications
You must be signed in to change notification settings - Fork 4
Adding Registration form html and css files #3
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| *{ | ||
| margin: 0; | ||
| padding: 0; | ||
| box-sizing: border-box; | ||
| } | ||
|
|
||
| .container{ | ||
| max-width: 800px; | ||
| margin: 0 auto; | ||
| } | ||
|
|
||
| header, footer{ | ||
| background-color: #222; | ||
| color: white; | ||
| padding: 20px; | ||
| text-align: center; | ||
| } | ||
|
|
||
| section{ | ||
| padding: 20px; | ||
| } | ||
|
|
||
| h1,h2{ | ||
| margin-bottom: 10px; | ||
| } | ||
|
|
||
| nav a{ | ||
| padding: 10px; | ||
| display:inline-block; | ||
| color: white; | ||
| text-decoration: none; | ||
| } | ||
|
|
||
| nav a:hover{ | ||
| color:#ffd700; | ||
| } | ||
|
|
||
| h1{ | ||
| color:darkblue; | ||
| } | ||
| h2{ | ||
| color:darkblue; | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,78 @@ | ||||||
| <!DOCTYPE html> | ||||||
| <html lang="en"> | ||||||
|
|
||||||
| <head> | ||||||
| <meta charset="UTF-8"> | ||||||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||||
| <title>About Me</title> | ||||||
| <link rel="stylesheet" href="About_me.css"> | ||||||
| </head> | ||||||
| <body> | ||||||
|
|
||||||
| <header> | ||||||
| <nav> | ||||||
| <a href="#">Home</a> | ||||||
| <a href="#">Skills</a> | ||||||
| <a href="#">Contact</a> | ||||||
| </nav> | ||||||
| </header> | ||||||
|
|
||||||
| <div class="container"> | ||||||
| <main> | ||||||
| <section> | ||||||
| <h1>Samuel</h1> | ||||||
| <p class="highlight">Front-End Developer</p> | ||||||
|
|
||||||
| <p>My name is Samuel, I am a Web Developer student at SEED WOC26. I enjoy building | ||||||
| clean responsive websites and helping others learn how the wed works.</p>l | ||||||
| <p>Outside of coding, I have some soft skills like active listening and communication. | ||||||
| I am also passionate about business, entrepreneurship, research and creative projects. | ||||||
| <strong>Growth is my priority</strong> | ||||||
| </p> | ||||||
| </section> | ||||||
| </main> | ||||||
|
Comment on lines
+21
to
+33
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mismatched/duplicate
🛠️ Suggested fix (wrap all content in a single ``) <div class="container">
<main>
<section>
<h1>Samuel</h1>
...
</p>
</section>
-</main>
<hr>
...
</section>
</main>
</div>Also applies to: 71-71 🤖 Prompt for AI Agents |
||||||
|
|
||||||
| <hr> | ||||||
|
|
||||||
| <img src="https://via.placeholder.com/250"alt="Profile Photo"> | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🌐 Web query:
💡 Result: via.placeholder.com was deprecated and removed. It stopped working around early 2025 to March 2026. Multiple projects reported failures starting in January 2025, with explicit "does not work anymore" issues in March-April 2025 and as recent as March 2026. No official announcement found from the service owners, but consistent evidence from GitHub issues across Angular, GrapesJS, filefill, faker-ruby, and foundation-emails confirms shutdown. The main placeholder.com domain was repurposed for warehouse rentals since 2023, with via.placeholder.com lingering briefly before full discontinuation. Recommended replacements include placehold.co (drop-in compatible syntax), dummyimage.com, and local generators. Citations:
🌐 Web query:
💡 Result: Yes, placehold.co is a working and available placeholder image service. The official website at https://placehold.co/ is accessible and provides detailed documentation on generating custom placeholder images in formats like SVG, PNG, JPEG, GIF, WebP, and AVIF. Features include customizable sizes (10x10 to 4000x4000 px), colors (hex or CSS names), text, fonts, and retina support ( Citations:
🏁 Script executed: # Verify the file exists and check the actual code
if [ -f "About_me.html" ]; then
sed -n '37p' About_me.html
else
echo "File not found, searching for it..."
find . -name "About_me.html" -type f 2>/dev/null | head -5
fiRepository: fadigatardzenyuy/WOC26_Fadidev Length of output: 137 Fix missing space between Line 37 has no space between the 🛠️ Proposed fix-<img src="https://via.placeholder.com/250"alt="Profile Photo">
+<img src="https://placehold.co/250" alt="Profile Photo">📝 Committable suggestion
Suggested change
🧰 Tools🪛 HTMLHint (1.9.2)[error] 37-37: Special characters must be escaped : [ < ]. (spec-char-escape) [error] 37-37: Special characters must be escaped : [ > ]. (spec-char-escape) 🤖 Prompt for AI Agents |
||||||
|
|
||||||
| <hr> | ||||||
|
|
||||||
| <section> | ||||||
| <h2>My Skills</h2> | ||||||
| <ul> | ||||||
| <li>Coding</li> | ||||||
| <li>Communication</li> | ||||||
| <li>Active listening</li> | ||||||
| <li>Business Strategy and Branding</li> | ||||||
| <li>Football</li> | ||||||
| </ul> | ||||||
| </section> | ||||||
| <hr> | ||||||
|
|
||||||
| <section> | ||||||
| <h2>Things I want to learn</h2> | ||||||
| <ul> | ||||||
| <li>Back-end Development</li> | ||||||
| <li>UI/UX Designing</li> | ||||||
| <li>Public speaking</li> | ||||||
| </ul> | ||||||
| </section> | ||||||
|
|
||||||
| <hr> | ||||||
|
|
||||||
| <section> | ||||||
| <h2>Contact</h2> | ||||||
| <p> | ||||||
| Email me here: | ||||||
| <a href="Ngumasamuel36@gmail.com">Email me</a> | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Email link is missing the
🛠️ Proposed fix- <a href="Ngumasamuel36@gmail.com">Email me</a>
+ <a href="mailto:Ngumasamuel36@gmail.com">Email me</a>📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| </p> | ||||||
| </section> | ||||||
| </main> | ||||||
| </div> | ||||||
|
|
||||||
| <footer> | ||||||
| <p>Built by Samuel-2026</p> | ||||||
| </footer> | ||||||
| </body> | ||||||
| </html> | ||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,46 @@ | ||||||||||||||||||||||||||||||||||||||||
| /* applying google font */ | ||||||||||||||||||||||||||||||||||||||||
| body { | ||||||||||||||||||||||||||||||||||||||||
| font-family:'Roboto', sans-serif; | ||||||||||||||||||||||||||||||||||||||||
| background-color: #f4f4f4; | ||||||||||||||||||||||||||||||||||||||||
| padding:20px | ||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||
| /* form styling */ | ||||||||||||||||||||||||||||||||||||||||
| form { | ||||||||||||||||||||||||||||||||||||||||
| background-color: #ffffff; | ||||||||||||||||||||||||||||||||||||||||
| padding:20px; | ||||||||||||||||||||||||||||||||||||||||
| border-radius:8px; | ||||||||||||||||||||||||||||||||||||||||
| max-width:400px; | ||||||||||||||||||||||||||||||||||||||||
| margin:auto; | ||||||||||||||||||||||||||||||||||||||||
| box-shadow:0 0 10pxrgba(0,0,0,0.1); | ||||||||||||||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correct invalid
✅ Proposed fix- box-shadow:0 0 10pxrgba(0,0,0,0.1);
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);📝 Committable suggestion
Suggested change
🧰 Tools🪛 Stylelint (17.7.0)[error] 14-14: Unknown unit "pxrgba" (unit-no-unknown) (unit-no-unknown) 🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||
| /*labels*/ | ||||||||||||||||||||||||||||||||||||||||
| label { | ||||||||||||||||||||||||||||||||||||||||
| display:block; | ||||||||||||||||||||||||||||||||||||||||
| margin-bottom:5px; | ||||||||||||||||||||||||||||||||||||||||
| font-weight:bold; | ||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||
| /* input fields */ | ||||||||||||||||||||||||||||||||||||||||
| input,select,textarea{ | ||||||||||||||||||||||||||||||||||||||||
| width:100%; | ||||||||||||||||||||||||||||||||||||||||
| padding:10px; | ||||||||||||||||||||||||||||||||||||||||
| margin-bottom:15px; | ||||||||||||||||||||||||||||||||||||||||
| border:1px solid#ccc; | ||||||||||||||||||||||||||||||||||||||||
| border-radius:4px; | ||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+23
to
+29
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do not style all This rule also hits radio buttons and the terms checkbox, making them render poorly and hurting form UX/accessibility. ✅ Proposed fix- input,select,textarea{
+ input[type="text"],
+ input[type="email"],
+ input[type="tel"],
+ input[type="date"],
+ select,
+ textarea {
width:100%;
padding:10px;
margin-bottom:15px;
border:1px solid#ccc;
border-radius:4px;
}📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||||||||||
| /* submit button */ | ||||||||||||||||||||||||||||||||||||||||
| button{ | ||||||||||||||||||||||||||||||||||||||||
| width:100%; | ||||||||||||||||||||||||||||||||||||||||
| padding:12px; | ||||||||||||||||||||||||||||||||||||||||
| background-color:#007BFF; | ||||||||||||||||||||||||||||||||||||||||
| color:white; | ||||||||||||||||||||||||||||||||||||||||
| border:none; | ||||||||||||||||||||||||||||||||||||||||
| border-radius:4px; | ||||||||||||||||||||||||||||||||||||||||
| font-size:16px; | ||||||||||||||||||||||||||||||||||||||||
| cursor:pointer; | ||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||
| /* hover effect for button */ | ||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||
| button:hover{ | ||||||||||||||||||||||||||||||||||||||||
| background-color:#0056b3; | ||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,63 @@ | ||||||||||
| <!DOCTYPE html> | ||||||||||
| <html lang="en"> | ||||||||||
|
|
||||||||||
| <head> | ||||||||||
| <meta charset="UTF-8"> | ||||||||||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||||||||
| <title>Registration form</title> | ||||||||||
| <link rel="stylesheet" href="Form_style.css"> | ||||||||||
| </head> | ||||||||||
| <body> | ||||||||||
| <h1>Training Registration form</h1> | ||||||||||
| <form> | ||||||||||
| <!-- full name --> | ||||||||||
| <label for="fullname">Full name:</label><br> | ||||||||||
| <input type="text" id="fullname"name="fullname"required> | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix malformed input attributes (missing spaces). These tags are malformed due to missing spaces between attributes, which can break parsing/validation and ✅ Proposed fix- <input type="text" id="fullname"name="fullname"required>
+ <input type="text" id="fullname" name="fullname" required>
- <input type="email" id="email" name="email"required>
+ <input type="email" id="email" name="email" required>
- <input type="checkbox" id="terms" name="terms"required>
+ <input type="checkbox" id="terms" name="terms" required>Also applies to: 19-19, 52-52 🧰 Tools🪛 HTMLHint (1.9.2)[error] 15-15: Special characters must be escaped : [ < ]. (spec-char-escape) [error] 15-15: Special characters must be escaped : [ > ]. (spec-char-escape) 🤖 Prompt for AI Agents |
||||||||||
| <br><br> | ||||||||||
| <!-- email --> | ||||||||||
| <label for="email">Email Address:</label><br> | ||||||||||
| <input type="email" id="email" name="email"required> | ||||||||||
| <br><br> | ||||||||||
|
|
||||||||||
| <!-- phone number --> | ||||||||||
| <label for="phone">Phone Number:</label><br> | ||||||||||
| <input type="tel" id="phone" name="phone"><br><br> | ||||||||||
| <!-- date of birth --> | ||||||||||
| <label for="dob">Date of Birth:</label><br> | ||||||||||
| <input type="date" id="dob" name="dob"><br><br> | ||||||||||
|
|
||||||||||
| <!-- Gender --> | ||||||||||
| <label>Gender:</label><br> | ||||||||||
| <input type="radio" id="male" name="gender" value="Male"> | ||||||||||
| <label for="male">Male</label><br> | ||||||||||
|
|
||||||||||
| <input type="radio" id="female" name="gender" value="Female"> | ||||||||||
| <label for="female">Female</label><br> | ||||||||||
|
|
||||||||||
| <!-- course section --> | ||||||||||
| <label for="course" name="course"></label><br> | ||||||||||
| <select id="course" name="course"> | ||||||||||
|
Comment on lines
+38
to
+39
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add visible label text for course selection. The course ✅ Proposed fix- <label for="course" name="course"></label><br>
+ <label for="course">Course:</label><br>📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||
| <option value="HTML">HTML</option> | ||||||||||
| <option value="CSS">CSS</option> | ||||||||||
| <option value="JavaScript">JavaScript</option> | ||||||||||
| </select> | ||||||||||
| <br><br> | ||||||||||
|
|
||||||||||
| <!-- Message --> | ||||||||||
| <label for="message">Short Message/Motivation:</label><br> | ||||||||||
| <textarea id="message" name="message" rows="4" cols="40"></textarea> | ||||||||||
| <br><br> | ||||||||||
|
|
||||||||||
| <!-- terms --> | ||||||||||
| <input type="checkbox" id="terms" name="terms"required> | ||||||||||
| <label for="terms">I agree to the training terms</label> | ||||||||||
| <br><br> | ||||||||||
|
|
||||||||||
| <!-- Submit --> | ||||||||||
| <button type="submit">Submit</button> | ||||||||||
|
|
||||||||||
| </form> | ||||||||||
|
|
||||||||||
|
|
||||||||||
| </body> | ||||||||||
| </html> | ||||||||||
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.
Stray
lcharacter and typo on Line 27.There is a trailing
lafter the closing</p>tag that will render as visible text on the page. Additionally, "wed works" should be "web works".✏️ Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents