All Questions
Tagged with ecmascript-6 html5
9 questions
0
votes
1
answer
116
views
Create and store the level data for a remake of Super Mario Bros game
I am trying to remake Super Mario Bros. in JavaScript and I am trying to figure out if there is a more efficient/shorter way to create and store the level data. I have created 1-1 and here's what the ...
2
votes
1
answer
400
views
User upload & Drag image and update text
I am allowing user to upload images & drag uploaded image once user click on mask images, also gave an option to Edit the text....
I am fetching mask images and text from json file....
I am ...
4
votes
3
answers
204
views
fizzbu| - Fizzbuzz with dynamic height
Here is a variation on a theme: fizzbuzz. After providing this answer recently, I decided to practice some VueJS skills with outputting the values and conditionally applying styles based on the value. ...
1
vote
1
answer
5k
views
Dispatching Vuex getter via setInterval
I am fetching the friend list for a chat application using a Vuex store. I need to dispatch the getter via an interval. Is there a best practices way to do this?
...
4
votes
1
answer
188
views
Audio frequency trainer / tester using Web Audio API
I'm making an audio frequency trainer as a learning exercise. It could be useful for audio technicians who need to recognize audio frequencies (eg. when ringing out feedback during a live concert or ...
6
votes
1
answer
127
views
map of SF transit cars
Please provide general and any specific criticism of the following which is intended to provide a map of SF transit cars.
The code can be viewed in the working version and also in a group of gists.
...
3
votes
2
answers
3k
views
SQL LIKE search in Angular filter objects
I made this AngularJS 1.x filter, to search using a the same SQL LIKE syntax. Right now only the percentage symbol (%) is ...
3
votes
1
answer
996
views
Adding a class to a root element
I have written some ES2015 JavaScript that adds a class to a root element when one of it's immediate children is focused.
Here is the markup for the code to be run on:
...
10
votes
2
answers
492
views
"Stardust" 2D Gravity Simulator - Follow Up 1: The Planets
This is a follow up for the 2D Gravity Simulator-like Game question.
Since then I have developed my javascript skills further, and now I'm using ES6 mainly. Note that even through this code uses the ...