-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
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.
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'; |
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.
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"); |
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.
var home = document.createElement("a"); | |
const home = document.createElement("a"); |
const img1 = document.getElementById('cta-img'); | ||
img1.setAttribute('src', siteContent["cta"]["img-src"]); | ||
|
||
//Main |
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.
Nice commenting to let future developers understand the organization of your code.
No description provided.