Unanswered Questions
848 questions with no upvoted or accepted answers
7
votes
0
answers
123
views
Created a paperfold like effect
I am trying to recreate a neat effect that I saw posted on Stack Overflow as a GIF .
I am trying to recreate this with CSS and JavaScript and I have created a similar effect with a button press.
I ...
6
votes
0
answers
107
views
Chapter 8 Challenge: Add employee names to a department
The boring but exciting challenge:
Using a HashMap and HashSet, create a text interface to allow a user to add employee names ...
6
votes
0
answers
112
views
Showing a Wikipedia article's changes as Git commits
I created a small-ish NodeJS script which takes as argument the name of a Wikipedia article (and optionally a Wikipedia edition, "en" is default) and creates a Git repository with each ...
5
votes
0
answers
532
views
Implementing a Basic Camera UI using WebGPU and JavaScript
Context
I am currently in the process of throwing myself into learning graphics programming, and my chosen platform is using JavaScript and WebGPU. After successfully making a basic glTF JSON renderer ...
5
votes
0
answers
64
views
Javascript portfolio with 11 small apps
I'm learning to code for about a year and recently I finished my Javascript project. It contains of 11 fairly simple apps involving using APIs and DOM manipulations
https://github.com/matt765/js
it's ...
5
votes
0
answers
55
views
Todolist in vanillaJS
I have been studying front-end development for 2 .5 months, I decided to switch to practice and wrote a todo list in 8 hours
Please write your opinion about the code and how it can be improved (...
5
votes
0
answers
572
views
React Context & Hooks custom Vuex like store
I've been experimenting with Hooks lately and looking more into how can I replace Redux with useContext and useReduer. For me, ...
5
votes
0
answers
220
views
A generic DFS in JavaScript
I implemented a general function for a depth-first-search (DFS) using JavaScript with default arguments and functions that need to be provided in order for it to work.
This function is using ...
5
votes
0
answers
55
views
React and D3 Alignment Histogram
I'm reasonably new to D3, and I've put together a class based React component which outputs a genomic alignment visually. The ...
5
votes
0
answers
1k
views
Block YouTube iframes until user consents with cookies
I'm trying to embed YouTube video's on a website in a privacy-friendly way.
The code doesn't load the iframes by default but shows a preview
thumbnail overlayed with an info message instead. The ...
5
votes
0
answers
240
views
Spacial hashing Library
Old code
...
5
votes
0
answers
180
views
Assembling and traversing a graph, given a list of items and parent pointers
I've written a function which takes input such as this:
...
5
votes
0
answers
781
views
Hunt n' Kill algorithm
Last day I implemented the Hunt and Kill algorithm in JavaScript, using HTML5 without any libraries. I would like my code to be reviewed.
How it works
I start with a 2D array filled with walls (1-s),...
5
votes
0
answers
3k
views
Finding all paths between nodes in a graph
I wanted to write a function paths that returns the possible routes between two nodes in a graph.
For example:
...
5
votes
0
answers
5k
views
Todo list with calendar
The app is a todo list with a three-day calendar. Users can add and remove lists and it's all stored in local storage. My aim was to use vanilla JS but I did use jQuery for the date picker.
I'm just ...