What is a real-life example of JavaScript?
See what JavaScript does in a real web app such as Google Maps: events, fetch requests and live DOM updates, with a working search-as-you-type example.
Spread Your Knowledge. Questions with answers, tutorials and articles, newest first.
See what JavaScript does in a real web app such as Google Maps: events, fetch requests and live DOM updates, with a working search-as-you-type example.
JavaScript is the language browsers run natively, making pages interactive and dynamic. Learn its main benefits with modern, accessible examples.
JavaScript is mostly used to make web pages interactive. See examples of event handling, form validation and fetch, and its uses beyond the browser.
See what JavaScript does in practice: handle events, change the DOM, validate forms and load data, with short examples you can run.
JavaScript is the language that makes web pages interactive and also runs on servers. See how it works, with the DOM, fetch and Node.js examples.
Detect features instead of browsers, set a browserslist target, transpile and polyfill only what you need, and test in Chromium, Firefox and WebKit.
A supervised learning algorithm learns from labelled data. See how to implement logistic regression and k-NN in plain C with tested code.
Tabular reinforcement learning keeps values in an array, deep RL uses a neural network. Compare both in C with a working Q-learning agent and a replay buffer.
Implement reinforcement learning in C with tabular Q-learning: an environment, a Q-table, epsilon-greedy actions and the update rule, with a runnable program.
Understand deep reinforcement learning and implement tabular Q-learning in C17, then see how a DQN adds a neural network, replay buffer and target network.
RNNs and backpropagation are not alternatives: one is an architecture, the other a training algorithm. A C example shows both working together.
Backpropagation trains a neural network by sending the error backward through its layers. This guide explains the maths and gives a complete C implementation.
Build a character-level recurrent neural network in C17 with softmax and BPTT, train it on a tiny text pattern and generate characters from it.
A self-organizing feature map clusters unlabeled data, while a feedforward network learns labeled mappings by backpropagation. Compared with C code for each.
A feedforward neural network passes data one way through layers. Build one in plain C, with a forward pass and backpropagation, and train it on XOR.
A Hopfield network is a recurrent associative memory, while a CPN combines Kohonen and Grossberg layers. See both in runnable C code.
Learn how a self-organizing feature map (Kohonen map) works and implement one in C with a tested program, parameters and tuning advice.
A counterpropagation network pairs a Kohonen clustering layer with a Grossberg output layer. This guide explains the algorithm and implements it in C.
A Kohonen map clusters unlabeled data, while an MLP learns labeled input-output mappings. See both implemented in C.
Build a working multi-layer perceptron in plain C. Covers activations, backpropagation, gradient descent and a complete XOR training program.