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

Jason.Holloway User-Interface-Project-Week #574

Open
wants to merge 83 commits into
base: master
Choose a base branch
from
Open

Jason.Holloway User-Interface-Project-Week #574

wants to merge 83 commits into from

Conversation

jjamaltwin
Copy link

Copy link

@VivaCode VivaCode left a comment

Choose a reason for hiding this comment

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

Functional Components - II

MVP

  • Build layout HTML/LESS: Home page desktop design
  • Build layout HTML/LESS: Home page mobile design
  • Build layout HTML/LESS: Services page desktop design only
  • Build layout HTML/LESS/JavaScript: Navigation system design (expanded and non)
  • Build Custom Component HTML/LESS/JavaScript: Services page tab navigator design

What Looks Great

  • Great work matching the design files
  • Frequent and descriptive commits
  • Code easy to read

What Could Be Improved

  • Code needs better formatting - you should only use id in case of emergency. Overuse could mean that you have a weak understanding of how to style.
  • Descriptive class names
  • Add more comments so code is easier for other programmers as well as yourself

What Could Be Added

  • More Comments esp in the js so anyone can tell what each chunk of code should do
  • Separate js pages for each component.

Rating (1-3)

2

@@ -11,8 +13,84 @@
</head>

<body>
<div class="container12">

Choose a reason for hiding this comment

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

I can see how container number might initially work, but what happens when you get to container100 and you can't remember what each of them control. Container should be reserved for the main wrapper only and the other receive descriptive names eg: container19 = menu_container


</div>

<div class="container21">

Choose a reason for hiding this comment

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

great job with the radio buttons!

</ul>
</div>
</header>
<img id="pic1" src="img\home\home-jumbotron.png" alt="jumbo" style="width:100%">

Choose a reason for hiding this comment

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

neither of these should have a width. I think I told you about it twice but maybe you missed looking inline

<div class="container2">

<div class ="picwrapper">
<img id="pic1" class="notepad" src="img\home\home-img-1.png" alt="penandpad">

Choose a reason for hiding this comment

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

Why did these need an id? nothing on this project should require that specific weight


Enter email

</civ>

Choose a reason for hiding this comment

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

? This is what clean code helps prevent. This could have caused bugs.


<h6>copyright © 2018 Smith and Jones </h6>

</div>

Choose a reason for hiding this comment

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

This doesn't need two containers. class copyright would have been sufficient.

}

// SERVICES TABS

Choose a reason for hiding this comment

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

great job using comments


Choose a reason for hiding this comment

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

I would advise for future projects to use a separate js file for each feature. Just for readability, reusability and ease of debugging


<h1>Services</h1>
</div>

Choose a reason for hiding this comment

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

good job pulling from old code!


</div>

<div class="container16">

Choose a reason for hiding this comment

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

don't forget to reuse components like nav and footer that match across pages. this saves time and creates cleaner code as well as pages that match.

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