[beta] const breaks following challenges
See original GitHub issueChallenge work-with-dynamic-data-in-d3 has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
.
Please describe how to reproduce this issue, and include links to screenshots if possible.
The test case will not pass with the information below. However this same code does work in the next challenge “Add Inline Styling to Elements”.
<body>
<script>
const dataset = [12, 31, 22, 17, 25, 18, 29, 14, 9];
d3.select("body").selectAll("h2")
.data(dataset)
.enter()
.append("h2")
.text((d) => (d + " USD"));
// Add your code above this line
</script>
</body>
```
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Beta | Apple Developer Forums
After iPhone restored I am stuck at the activation screen. In setup assistant after selecting country and signing into my WiFi my iPhone...
Read more >Beta-blockers: Types, Uses and Side Effects - Cleveland Clinic
Beta -blockers are a class of medicines most commonly used for problems involving your heart and your circulatory system.
Read more >Official Bug/Exploit Reporting Thread - Beta Weekend 2 - Reddit
Here are the bugs I experienced while playing the BETA on Xbox Series X. *Display flickers when changing attachments for weapon while in...
Read more >Announcing TypeScript 4.7 Beta - Microsoft Developer Blogs
Today we are excited to announce the beta release of TypeScript 4.7! To get started using the beta, you can use npm with...
Read more >Invalid Hook Call Warning - React
There are three common reasons you might be seeing it: You might have mismatching versions of React and React DOM. You might be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I also had a problem with this exercise, with it throwing an error: Uncaught SyntaxError: Identifier ‘dataset’ has already been declared
When I removed the line
const dataset = [12, 31, 22, 17, 25, 18, 29, 14, 9];
from the exercise it worked (the same is true for all the following exercises). I don’t know if the variabledataset
is somehow being carried over from an earlier exercise.Looks like Quincy opened another issue and assigned Berkeley to it (#12762), so I’ll close this in favour of that. Thanks for reporting everybody!