Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Jorge Sahagún #22

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

Conversation

Jorge-Sahagun
Copy link

What's your progress on the project?

  • Semantic HTML - XX%
  • CSS Styles - XX%
  • Responsive design - XX%
  • JS interactions - XX%

Where should the reviewer start?

Explain what you want to have reviewed in case your project has features or code that you don't want them to check

Checklist

  • I've double checked there are no console.logs
  • I already reviewed at least other 2 PRs

<body>
<h1>Hello world!</h1>
<script src="./dist/bundle.js"></script>
<script src="./dist/bundle.js"></script>
Copy link
Collaborator

Choose a reason for hiding this comment

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

it is recommended to load scripts at the bottom of the document, so that users can see the site instead of a blank screen while it loads

this.dotColored = DOT_COLORED;
this.dotUncolored = DOT_UNCOLORED;
this.getSiteElements = new Promise(
(resolve) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is starting to look nested, probably you can refactor this to look cleaner

(resolve) => {
window.onload = function () {
const article = {
title: document.getElementById("blog_title"),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just as a recommendation, when selecting nodes with js is better to do it with selectors that are not related with styles and use a prefix, ie: .js-my-class-selector

width: 100px;
}

// ! BLOG
Copy link
Collaborator

Choose a reason for hiding this comment

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

This will get large really soon, just like js files you can import Sass files and separate each section in a file

// MEDIA QUERIES

// TABLET LANDSCAPE
@media screen and (max-width:1024px){
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd recommend having media queries along their base rules for easier reading

Copy link
Collaborator

@ederchrono ederchrono left a comment

Choose a reason for hiding this comment

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

The site looks and works great, good job!

@ederchrono ederchrono added the Certificated PRs that passed the course label Jan 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Certificated PRs that passed the course
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants