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

Anthony venturini #1

Merged
merged 4 commits into from
Jan 29, 2019
Merged

Anthony venturini #1

merged 4 commits into from
Jan 29, 2019

Conversation

adventurini
Copy link
Owner

No description provided.

Copy link
Collaborator

@Jordan-Stoddard Jordan-Stoddard left a comment

Choose a reason for hiding this comment

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

Looks good. You understood the basic concepts. Would have liked to have seen you push it a little further, but sounds like you were a little out of yesterday. :P

navA[4].textContent= siteContent["nav"]["nav-item-5"];
navA[5].textContent= siteContent["nav"]["nav-item-6"];

navA[0].style.color= 'green';
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
navA[0].style.color= 'green';
navItems.forEach(item => item.style.color = 'green');

navA[4].style.color= 'green';
navA[5].style.color= 'green';

var home = document.createElement("a");
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
var home = document.createElement("a");
const home = document.createElement("a");

const img1 = document.getElementById('cta-img');
img1.setAttribute('src', siteContent["cta"]["img-src"]);

//Main
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice commenting to let future developers understand the organization of your code.

@Jordan-Stoddard Jordan-Stoddard merged commit 36f2537 into master Jan 29, 2019
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