-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Develop #1514
base: master
Are you sure you want to change the base?
Develop #1514
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.
Great work! Make sure to deploy your page
|
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.
Consider fixing the solution to get calculated data
src/scripts/main.js
Outdated
@@ -1,3 +1,22 @@ | |||
'use strict'; | |||
|
|||
// write your code here | |||
const population = [...document.querySelector(`.population`)]; |
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.
const population = [...document.querySelector(`.population`)]; | |
const population = [...document.querySelectorAll(`.population`)]; |
src/scripts/main.js
Outdated
@@ -1,3 +1,22 @@ | |||
'use strict'; | |||
|
|||
// write your code here | |||
const population = [...document.querySelector(`.population`)]; | |||
const countCountries = population.length(); |
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.
const countCountries = population.length(); | |
const countCountries = population.length; |
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.
|
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.
Great! 🔥
@@ -1,3 +1,24 @@ | |||
'use strict'; | |||
|
|||
// write your code here |
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.
// write your code here |
https://igols.github.io/js_get_data_DOM/