People who code: we want your input. Take the Survey

New answers tagged

3

It looks like you've put a lot of work into this and it appears to function well. There are only a few suggestions - see below. I agree with the comment by user3342816 that the flipped sliders seem counter-intuitive. Suggestions Reflows The performance tag was not originally added to the post but that should definitely be a consideration for UI elements. ...


3

First of all, you seem to arbitrarily choose between class and id selectors. It's advisable to use class selectors for everything, except when dealing with logic. Better yet, you could try following a CSS design pattern (like BEM). Moreover, you unnecessarily repeat a lot of CSS properties. For example, you could easily have created a single "li_item&...


4

Using step as a property inside each step is redundant and can lead to bugs if the value is incorrect. Consider what would happen if you had this: data: { stepCounter: 1, steps: [{ step: 5, completed: false, text: "Cart" }, { step: 3, completed: false, text: "Shipping" }, { ...


4

Is there any room for "shortening" the code? Shorthands Shorthands can simplify the markup. The click handlers already use the shorthand @click instead of v-on:click. The bindings can be simplified as well. For example - instead of: v-bind:class="..." the v-bind can be omitted: :class="..." Watch out! Yesterday there was an ...


0

I am looking for ... entirely different fixes that are better. Turn the brightness down using your operating system, graphics card software, or monitor.


3

You should put your Configure Memcache section into a function to clean up the global namespace, even if you unconditionally call it from the global namespace. Likewise, instead of commenting out # TEMPORARY FOR FLASK LOCAL TESTING ONLY. # Configure session to use filesystem, # (instead of signed cookies), sourced from CS50. # app.config["...


Top 50 recent answers are included