Skip to content

ITP-JAN-25 | Marco Martin Camon | Onboarding module - Week 1 #113

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

NeoBalder
Copy link

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with COHORT_NAME | FIRST_NAME LAST_NAME | REPO_NAME | WEEK
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

Briefly explain your PR.

-Added input boxes and their names
-Added form controls with HTML validations for name and email. Added dropdown with options to Colour and Size.
-Updated the title and the footer
-Added a styled "*" to the mandatory fields and a line explaining the meaning
-Added ID and Name to each form field
-Added labels
-Tested the website for accessibility in Lighthouse
download2.pdf

Questions

Ask any questions you have for your reviewer.

Copy link

netlify bot commented Jan 10, 2025

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit 0b7c8e5
🔍 Latest deploy log https://app.netlify.com/sites/cyf-onboarding-module/deploys/678b9bb009a51e000805c63e
😎 Deploy Preview https://deploy-preview-113--cyf-onboarding-module.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 99 (🔴 down 1 from production)
Accessibility: 93 (🔴 down 7 from production)
Best Practices: 100 (no change from production)
SEO: 90 (🟢 up 4 from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@NeoBalder NeoBalder linked an issue Jan 11, 2025 that may be closed by this pull request
@NeoBalder NeoBalder linked an issue Jan 11, 2025 that may be closed by this pull request
@NeoBalder NeoBalder marked this pull request as draft January 17, 2025 19:35
@NeoBalder NeoBalder marked this pull request as ready for review January 17, 2025 19:41
@ClaudiaDeTata ClaudiaDeTata added the Needs Review Participant to add when requesting review label Jan 18, 2025
@shieldo
Copy link

shieldo commented Jan 18, 2025

Hi @NeoBalder - which exercise would you like a review on here? I can see that there is work for both the form controls and the wireframe exercise here. Each exercise should ideally be done in its own branch, because pull requests refer to branches, and so if other unconnected work gets put into a branch for a particular feature it confuses that work.

</header>
<main>
<form>
<p> <span style="color:red">*</span><span><label for="FullName">Name: </label><input type="text" id="FullName" name="FullName" required pattern="[A-Za-z]{3,}"></span></p>
Copy link

Choose a reason for hiding this comment

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

Please, avoid inline styling and use separate file (style.css) or at least add all your styles into <style> section in your HTML.

Copy link

Choose a reason for hiding this comment

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

For attributes, please, use lowercase values and hyphens.

Bad:
for="FullName"

Good:
for="full-name"

</header>
<main>
<form>
<p> <span style="color:red">*</span><span><label for="FullName">Name: </label><input type="text" id="FullName" name="FullName" required pattern="[A-Za-z]{3,}"></span></p>
<span style="color:red">*</span><label for="EmailAddress">Your Email Address: </label><input type="text" id="EmailAddress" name="EmailAddress" required pattern="[a-z0-9._%+\-]+@[a-z0-9.\-]+\.[a-z]{2,}$"></span>
Copy link

Choose a reason for hiding this comment

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

Please, format your code for better readability - split it to new lines, don't group many elements into one line.

@tyzia tyzia added Reviewed Volunteer to add when completing a review and removed Needs Review Participant to add when requesting review labels Jan 18, 2025
Copy link
Member

@SallyMcGrath SallyMcGrath left a comment

Choose a reason for hiding this comment

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

Oh I found this half done review in a tab! It's probably a bit late but have it anyway.

Thanks so much for your hard work, @NeoBalder

</header>
<main>
<form>
<p> <span style="color:red">*</span><span><label for="FullName">Name: </label><input type="text" id="FullName" name="FullName" required pattern="[A-Za-z]{3,}"></span></p>
<span style="color:red">*</span><label for="EmailAddress">Your Email Address: </label><input type="text" id="EmailAddress" name="EmailAddress" required pattern="[a-z0-9._%+\-]+@[a-z0-9.\-]+\.[a-z]{2,}$"></span>
Copy link
Member

Choose a reason for hiding this comment

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

Is there a type of input that validates email addresses automatically?

</p>

<p>All fields marked with (<span style="color:red">*</span>) are mandatory</p>
<button>Sumbit</button>
Copy link
Member

Choose a reason for hiding this comment

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

<option value="green">Green</option>
<option value="black">Black</option>
</select>
</span></p>
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure these spans and ps are necessary. What do you think?

</header>
<main>
<form>
<p> <span style="color:red">*</span><span><label for="FullName">Name: </label><input type="text" id="FullName" name="FullName" required pattern="[A-Za-z]{3,}"></span></p>
Copy link
Member

Choose a reason for hiding this comment

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

@cjyuan cjyuan added the 👀 Review Git Changes requested to do with Git label Jan 20, 2025
@tyzia
Copy link

tyzia commented Jan 25, 2025

Stopped watching this PR for changes. If you will need my review for this PR in the future, please, ping me and add 'Needs review' label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👀 Review Git Changes requested to do with Git Reviewed Volunteer to add when completing a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Onboarding Step 1 Issue
6 participants