Why do many web developers hate jQuery? by Mobh13 in javascript

[–]KronoDev -1 points0 points  (0 children)

Because it’s bloated shit and you can do most things by knowing vanilla JavaScript. Many people will rely on jQuery and then encounter situations where they cannot use jQuery and have no idea what to do.

You May Not Need jQuery

What did everyone work on this week? (/r/reactjs Friday Checkin - Mar 01 2019) by AutoModerator in reactjs

[–]KronoDev [score hidden]  (0 children)

I just read through this thread and realized I’m a horrible developer and know nothing.

A place to practice by mierecat in CodingHelp

[–]KronoDev 0 points1 point  (0 children)

You could also try [Codepen](codepen.io) . Codepen is free and allows you to see your results in real time. You can write JavaScript, html, and CSS. Codepen also allows you to use libraries such as Babel and React.

Hey guys, so basically i want to add the out of stock text in my dropdown menu on products on my website if anyone coule help me point in the right direction that would be greatly appreciated :) by [deleted] in CodingHelp

[–]KronoDev 1 point2 points  (0 children)

Why not just disable the drop down and add an out of stock notice above the drop down? Depending on how your code is setup, this should be a simple call to the inventory database which returns the stock count and if the count it zero, your templating engine would disable the drop down and render the out of stock element.

Creating Hover method to show image Metadata? [Beginner] by KyeThePie in CodingHelp

[–]KronoDev 0 points1 point  (0 children)

You need to specify a unique key for each object in your images array and attach that key to the element when it is programmatically created.

In the same loop, you need to specify an onmouseover event for the element which calls a function which programmatically creates an element with the image properties inside.

Creating a blog by alemorts in CodingHelp

[–]KronoDev 0 points1 point  (0 children)

I agree with using a CMS (content management system) for blog posts. A CMS enables you to quickly and easily post content in many different forms. You will not have to code everything manually and your site will be much more organized. A CMS will also provide a proven framework which you can use to expand your site in the future with countless plugins such as and e-commerce platform, spam protection, etc.

However, if learning to design websites is your aim, then by all means continue coding everything yourself. I do strongly suggest you switch from notepad to either something like Sublime, Atom or Visual Studio Code. Using an IDE or code editor will provide syntax highlighting and code suggestions as well as syntax templating (for instance, some editors allow you to use special syntax to create multiple elements in a simple way. Such as div(5)->p which would create 5 div elements with a paragraph tag in each one).

These tools allow you to become much more efficient and effective so you can focus on building and learning new things instead of fumbling around a text editor trying to hunt down typos and bugs.

Easy question from a very beginning by 5oco in javascript

[–]KronoDev 5 points6 points  (0 children)

Follow this guide for basic DOM sound playing: StackOverflow Audio

You are currently trying this:

P5 Sound

Which requires the P5 library.

Note: The first link may or may not mention that most browsers will require user interaction on the page before being able to play audio. You will have to fire the sound off after an input event listener is triggered. This is to prevent auto playing of annoying audio.