Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
JavaScript is a versatile, high-level programming language. It is the programming language in all browsers.and can be used for back-end programming with node.js. Use this tag for questions regarding vanilla JavaScript; optionally tagged with an ECMAScript version. If you are using a preprocessor such as TypeScript please tag with that too.
0
votes
Simple Tip Calculator with JavaScript Console App
Additionally to the other comments, i would think about the following:
Magic values vs. constants
The percentage for the tips (30%, 20%, 10%, 5%) are "magic numbers" that are used in the text and in …
2
votes
Accepted
Subscribing and manipulating data from API in Angular
just my personal opinion, so pick what you like and ignore the rest. :-)
In general i think it is a good practice to use your "own" data structure in the frontend.
if the backend changes their format …
5
votes
Accepted
Angular Frontend login logic
Sorry I didn't took a look at your backend code, so this is just half a review.
For your questions:
Security
As Sam already analyzed, there is no obvious problem on the frontend part (as long as you …