javascript + javascript open Open multiple tabs with one link | JavaScript code - EyeHuntsFor example, we want to open 2 URLs (http://google.com and http://yahoo.com) in a different tab with one link click. You can do it in 2 ways wono | discuss | tweet + javascript flip game Flip - card memory game.Super old project I remembered about. Just thought I'd share it with you awesome CodePen people. Have some fun :) The game will save your stats locall... wono | discuss | tweet + javascript removeeventlistener once [JS] ๐ ์ด๋ฒคํธ ์ ๊ฑฐ & ํ๋ฒ๋ง ์คํ๋๊ฒ ํ๊ธฐ (removeEventListener / once)์ด๋ฒคํธ ์ ๊ฑฐํ๊ธฐ ์๋ฐ์คํฌ๋ฆฝํธ์์ addEventListener()๋ฅผ ์ฌ์ฉํด ์ด๋ฒคํธ๋ฅผ ์ถ๊ฐํ ๊ฒฝ์ฐ ๋ฐ๋๋ก ์ด๋ฅผ ์ ๊ฑฐํ ์ ์์ผ๋ฉฐ ์ด๋ removeEventListener() ๋ฅผ ์ฌ์ฉํ๋ค. removeEventListener()ย ํจ์๋ EventTarget์ ๋ฑ.. wono | discuss | tweet + javascript calendar library Top JavaScript Calendar Plugins - Flatlogic BlogHere is a rich list of React, Angular, Vue, and Bootstrap calendars for developers. Check out these carefully crafted JavaScript calendar plugins for your next web app. wono | discuss | tweet + ํ๋ก๊ทธ๋๋ฐ์ธ์ด ์๋ฐ์คํฌ๋ฆฝํธ ํฌ๋ฝํฌ๋ javascript ์๋ฐ์คํฌ๋ฆฝํธ์ ์๋ฒ์ง โ์๋ฐ์คํฌ๋ฆฝํธ, ํ๋ก๊ทธ๋๋ฐ ์ฅ๋ฒฝ ๋ฐ์ ์์ธ ์ ๊ณต"...์?ํ์ฌ ๋๋ถ๋ถ์ ์ค๋ฌธ ์กฐ์ฌ์์ ์ธ๊ณ์์ ๊ฐ์ฅ ์ธ๊ธฐ ์๋ ํ๋ก๊ทธ๋๋ฐ ์ธ์ด๋ ์๋ฐ์คํฌ๋ฆฝํธ(JavaScript)์ด๋ค. ํ์ง๋ง JSON(JavaScript Object Notation) ์ฐฝ์์์ด์ ์๋ฐ์คํฌ๋ฆฝํธ์ ๊ฐ๋ฐ์ ์ฐธ์ฌํด ์๋ฐ์คํฌ๋ฆฝํธ์ ์๋ฒ์ง๋ก ๋ถ๋ฆฌ๋ ๋๊ธ๋ผ์ค ํฌ๋ฝํฌ๋(Douglas Crockford )๋ ์๋ฐ์คํฌ๋ฆฝํธ๊ฐ ํ๋ก๊ทธ๋๋ฐํ๋๋ฐ ์คํ๋ ค ์ฅ๋ฒฝ์ด ๋๊ณ ์๋ค๊ณ ์ธ์ Devclass๋ฅผ ํตํด ๋ฐํ๋ค. ํฌ๋ฝํฌ๋๋ ์ง๋ 7์, Evrone์์ ์ธํฐ๋ทฐ์์ ์๋์ ๊ฐ์ ์ฃผ์ฅ์ ํผ์ณค๋ค."์ค๋๋ ์ฐ๋ฆฌ์ ์ต์ ์ ์๋ฐ์คํฌ๋ฆฝํธ๋ฅผ ์ํด์์ผ๋ฒ๋ฆฌ๋ ๊ฒ์ด๋ค. 2 wono | discuss | tweet + javascript Javascript - Know when Element Gets Visible in Screen During ScrollPreviously finding whether an element has entered the screen used to be a pain, but the new Intersection Observer API makes this quite easy, and less error prone. wono | discuss | tweet + javascript javascript - How to check if element is visible after scrolling? - Stack OverflowI'm loading elements via AJAX. Some of them are only visible if you scroll down the page. Is there any way I can know if an element is now in the visible part of the page? wono | discuss | tweet + javascript <script>: ์คํฌ๋ฆฝํธ ์์ - HTML: Hypertext Markup Language | MDNHTML <script> ์์๋ ๋ฐ์ดํฐ์ ์คํ ๊ฐ๋ฅํ ์ฝ๋๋ฅผ ๋ฌธ์์ ํฌํจํ ๋ ์ฌ์ฉํ๋ฉฐ ๋ณดํต JavaScript ์ฝ๋์ ํจ๊ป ์๋๋ค. wono | discuss | tweet + javascript jquery - How to defer inline Javascript? - Stack OverflowI have the following html code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <script src="https://cdn. wono | discuss | tweet + javascript keyup debounce javascript - How to delay the .keyup() handler until the user stops typing? - Stack OverflowIโve got a search field. Right now it searches for every keyup. So if someone types โWindowsโ, it will make a search with AJAX for every keyup: โWโ, โWiโ, โWinโ, โWindโ, โWindoโ, โWindowโ, โWindows... wono | comment (4) | tweet + javascript selector javascript - Can I access DOM element directly by id? - Stack OverflowIn javascript I always use docuemtn.getElementById to access DOM elements, but recently I accidentally accessed it using id only and it worked. Example: <input id="element_id" type="text"> ... wono | comment (1) | tweet + javascript selector performance JavaScript Selector Performance | Go Make ThingsOne of the students in my Vanilla JS Slack channel asked me about the performance difference between querySelector() and things like getElementById() and getElementsByClassName(). Specifically, getElementById() and getElementsByClassName() are more than twice as fast as querySelector() and querySelectorAll(). So, thatโs bad, right? I honestly donโt think it matters. getElementById() can run about 15 million operations a second, compared to just 7 million per second for querySelector() in the latest version of Chrome. wono | discuss | tweet + javascript download ์๋ฒ ์์ด ์๋ฐ์คํฌ๋ฆฝํธ๋ก ํ์ผ ์์ฑํด์ ์ ํ ๋ค์ด๋ก๋ ํ๊ธฐ์๋ฐ์คํฌ๋ฆฝํธ๋ฅผ ์ด์ฉํ๋ฉด ๋ณ๋์ ์น์๋ฒ ๊ธฐ๋ฅ ์์ด๋ ํ์ผ์ ์์ฑํด์ ๋ค์ด๋ก๋ํ ์ ์์ต๋๋ค. ํ ์คํธ ๊ธฐ๋ฐ์ธ ํ์ผ์ ์ข ๋ฅ์ ์๊ด์์ด ์์ฑํ ์ ์์ต๋๋ค. HTML5 ํ์ค์ ์ง์ํ๋ ์น ๋ธ๋ผ์ฐ์ ์์๋ ๋ชจ๋ ์ง์๋.. wono | discuss | tweet + javascript dataset ๋ฐ์ดํฐ ์์ฑ ์ฌ์ฉํ๊ธฐ - Web ๊ฐ๋ฐ ํ์ตํ๊ธฐ | MDNMDN Web DocsMDN logoMozilla logoHTML5ย ํน์ ์์์ ์ฐ๊ด๋์ด ์์ง๋ง ํ์ ๋ ์๋ฏธ๋ ๊ฐ์ง ์๋ย ๋ฐ์ดํฐ์ ๋ํ ํ์ฅ ๊ฐ๋ฅ์ฑ์ ์ผ๋์ ๋๊ณ ๋์์ธ๋์์ต๋๋ค. data-*ย ์์ฑ์ ํ์ค์ด ์๋ย ์์ฑ์ด๋ ์ถ๊ฐ์ ์ธย DOM ์์ฑ, Node.setUserData()๊ณผ ๊ฐ์ ๋ค๋ฅธ ์กฐ์์ ํ์ง ์๊ณ ๋, ์๋ฏธ๋ก ์ ํ์ค HTML ์์์ ์ถ๊ฐ ์ ๋ณด๋ฅผย ์ ์ฅํ ์ ์๋๋ก ํด์ค๋๋ค. wono | discuss | tweet + javascript try catch finally try...catch - JavaScript | MDNMDN Web DocsMDN logoMozilla logotry...catchย ๋ฌธ์ ์คํํ ์ฝ๋๋ธ๋ญ์ ํ์ํ๊ณ ์์ธ(exception)๊ฐ ๋ฐ์(throw)ํ ๊ฒฝ์ฐ์ ์๋ต์ ์ง์ ํฉ๋๋ค. wono | discuss | tweet + javascript luxon diffnow javascript - Luxon.js get difference between now and input date in years - Stack OverflowI'm using luxon.js and want to check, is the user's age is over than 21 years. Code, that i'm using for it const isTooYoung = date => DateTime.fromFormat(date, 'dd.MM.yyyy') .diffNow() ... wono | discuss | tweet + javascript luxon javascript - How to parse UNIX timestamps with luxon? - Stack OverflowI tried to use the luxon library to move away from moment - to translate the 1615065599.426264 timestamp into an ISO date. According to the Online Epoch Converter this corresponds to GMT: Saturday, wono | discuss | tweet + urlsearchparams javascript URLSearchParams.delete() - Web APIs | MDNThe delete() method of the URLSearchParams interface deletes the given search parameter and all its associated values, from the list of all search parameters. wono | discuss | tweet + javascript console error console.error() - Web API | MDNconsole.error() ๋ฉ์๋๋ ์น ์ฝ์์ ์๋ฌ ๋ฉ์์ง๋ฅผ ์ถ๋ ฅํฉ๋๋ค. wono | discuss | tweet
+ javascript open Open multiple tabs with one link | JavaScript code - EyeHuntsFor example, we want to open 2 URLs (http://google.com and http://yahoo.com) in a different tab with one link click. You can do it in 2 ways wono | discuss | tweet
+ javascript flip game Flip - card memory game.Super old project I remembered about. Just thought I'd share it with you awesome CodePen people. Have some fun :) The game will save your stats locall... wono | discuss | tweet
+ javascript removeeventlistener once [JS] ๐ ์ด๋ฒคํธ ์ ๊ฑฐ & ํ๋ฒ๋ง ์คํ๋๊ฒ ํ๊ธฐ (removeEventListener / once)์ด๋ฒคํธ ์ ๊ฑฐํ๊ธฐ ์๋ฐ์คํฌ๋ฆฝํธ์์ addEventListener()๋ฅผ ์ฌ์ฉํด ์ด๋ฒคํธ๋ฅผ ์ถ๊ฐํ ๊ฒฝ์ฐ ๋ฐ๋๋ก ์ด๋ฅผ ์ ๊ฑฐํ ์ ์์ผ๋ฉฐ ์ด๋ removeEventListener() ๋ฅผ ์ฌ์ฉํ๋ค. removeEventListener()ย ํจ์๋ EventTarget์ ๋ฑ.. wono | discuss | tweet
+ javascript calendar library Top JavaScript Calendar Plugins - Flatlogic BlogHere is a rich list of React, Angular, Vue, and Bootstrap calendars for developers. Check out these carefully crafted JavaScript calendar plugins for your next web app. wono | discuss | tweet
+ ํ๋ก๊ทธ๋๋ฐ์ธ์ด ์๋ฐ์คํฌ๋ฆฝํธ ํฌ๋ฝํฌ๋ javascript ์๋ฐ์คํฌ๋ฆฝํธ์ ์๋ฒ์ง โ์๋ฐ์คํฌ๋ฆฝํธ, ํ๋ก๊ทธ๋๋ฐ ์ฅ๋ฒฝ ๋ฐ์ ์์ธ ์ ๊ณต"...์?ํ์ฌ ๋๋ถ๋ถ์ ์ค๋ฌธ ์กฐ์ฌ์์ ์ธ๊ณ์์ ๊ฐ์ฅ ์ธ๊ธฐ ์๋ ํ๋ก๊ทธ๋๋ฐ ์ธ์ด๋ ์๋ฐ์คํฌ๋ฆฝํธ(JavaScript)์ด๋ค. ํ์ง๋ง JSON(JavaScript Object Notation) ์ฐฝ์์์ด์ ์๋ฐ์คํฌ๋ฆฝํธ์ ๊ฐ๋ฐ์ ์ฐธ์ฌํด ์๋ฐ์คํฌ๋ฆฝํธ์ ์๋ฒ์ง๋ก ๋ถ๋ฆฌ๋ ๋๊ธ๋ผ์ค ํฌ๋ฝํฌ๋(Douglas Crockford )๋ ์๋ฐ์คํฌ๋ฆฝํธ๊ฐ ํ๋ก๊ทธ๋๋ฐํ๋๋ฐ ์คํ๋ ค ์ฅ๋ฒฝ์ด ๋๊ณ ์๋ค๊ณ ์ธ์ Devclass๋ฅผ ํตํด ๋ฐํ๋ค. ํฌ๋ฝํฌ๋๋ ์ง๋ 7์, Evrone์์ ์ธํฐ๋ทฐ์์ ์๋์ ๊ฐ์ ์ฃผ์ฅ์ ํผ์ณค๋ค."์ค๋๋ ์ฐ๋ฆฌ์ ์ต์ ์ ์๋ฐ์คํฌ๋ฆฝํธ๋ฅผ ์ํด์์ผ๋ฒ๋ฆฌ๋ ๊ฒ์ด๋ค. 2 wono | discuss | tweet
+ javascript Javascript - Know when Element Gets Visible in Screen During ScrollPreviously finding whether an element has entered the screen used to be a pain, but the new Intersection Observer API makes this quite easy, and less error prone. wono | discuss | tweet
+ javascript javascript - How to check if element is visible after scrolling? - Stack OverflowI'm loading elements via AJAX. Some of them are only visible if you scroll down the page. Is there any way I can know if an element is now in the visible part of the page? wono | discuss | tweet
+ javascript <script>: ์คํฌ๋ฆฝํธ ์์ - HTML: Hypertext Markup Language | MDNHTML <script> ์์๋ ๋ฐ์ดํฐ์ ์คํ ๊ฐ๋ฅํ ์ฝ๋๋ฅผ ๋ฌธ์์ ํฌํจํ ๋ ์ฌ์ฉํ๋ฉฐ ๋ณดํต JavaScript ์ฝ๋์ ํจ๊ป ์๋๋ค. wono | discuss | tweet
+ javascript jquery - How to defer inline Javascript? - Stack OverflowI have the following html code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <script src="https://cdn. wono | discuss | tweet
+ javascript keyup debounce javascript - How to delay the .keyup() handler until the user stops typing? - Stack OverflowIโve got a search field. Right now it searches for every keyup. So if someone types โWindowsโ, it will make a search with AJAX for every keyup: โWโ, โWiโ, โWinโ, โWindโ, โWindoโ, โWindowโ, โWindows... wono | comment (4) | tweet
+ javascript selector javascript - Can I access DOM element directly by id? - Stack OverflowIn javascript I always use docuemtn.getElementById to access DOM elements, but recently I accidentally accessed it using id only and it worked. Example: <input id="element_id" type="text"> ... wono | comment (1) | tweet
+ javascript selector performance JavaScript Selector Performance | Go Make ThingsOne of the students in my Vanilla JS Slack channel asked me about the performance difference between querySelector() and things like getElementById() and getElementsByClassName(). Specifically, getElementById() and getElementsByClassName() are more than twice as fast as querySelector() and querySelectorAll(). So, thatโs bad, right? I honestly donโt think it matters. getElementById() can run about 15 million operations a second, compared to just 7 million per second for querySelector() in the latest version of Chrome. wono | discuss | tweet
+ javascript download ์๋ฒ ์์ด ์๋ฐ์คํฌ๋ฆฝํธ๋ก ํ์ผ ์์ฑํด์ ์ ํ ๋ค์ด๋ก๋ ํ๊ธฐ์๋ฐ์คํฌ๋ฆฝํธ๋ฅผ ์ด์ฉํ๋ฉด ๋ณ๋์ ์น์๋ฒ ๊ธฐ๋ฅ ์์ด๋ ํ์ผ์ ์์ฑํด์ ๋ค์ด๋ก๋ํ ์ ์์ต๋๋ค. ํ ์คํธ ๊ธฐ๋ฐ์ธ ํ์ผ์ ์ข ๋ฅ์ ์๊ด์์ด ์์ฑํ ์ ์์ต๋๋ค. HTML5 ํ์ค์ ์ง์ํ๋ ์น ๋ธ๋ผ์ฐ์ ์์๋ ๋ชจ๋ ์ง์๋.. wono | discuss | tweet
+ javascript dataset ๋ฐ์ดํฐ ์์ฑ ์ฌ์ฉํ๊ธฐ - Web ๊ฐ๋ฐ ํ์ตํ๊ธฐ | MDNMDN Web DocsMDN logoMozilla logoHTML5ย ํน์ ์์์ ์ฐ๊ด๋์ด ์์ง๋ง ํ์ ๋ ์๋ฏธ๋ ๊ฐ์ง ์๋ย ๋ฐ์ดํฐ์ ๋ํ ํ์ฅ ๊ฐ๋ฅ์ฑ์ ์ผ๋์ ๋๊ณ ๋์์ธ๋์์ต๋๋ค. data-*ย ์์ฑ์ ํ์ค์ด ์๋ย ์์ฑ์ด๋ ์ถ๊ฐ์ ์ธย DOM ์์ฑ, Node.setUserData()๊ณผ ๊ฐ์ ๋ค๋ฅธ ์กฐ์์ ํ์ง ์๊ณ ๋, ์๋ฏธ๋ก ์ ํ์ค HTML ์์์ ์ถ๊ฐ ์ ๋ณด๋ฅผย ์ ์ฅํ ์ ์๋๋ก ํด์ค๋๋ค. wono | discuss | tweet
+ javascript try catch finally try...catch - JavaScript | MDNMDN Web DocsMDN logoMozilla logotry...catchย ๋ฌธ์ ์คํํ ์ฝ๋๋ธ๋ญ์ ํ์ํ๊ณ ์์ธ(exception)๊ฐ ๋ฐ์(throw)ํ ๊ฒฝ์ฐ์ ์๋ต์ ์ง์ ํฉ๋๋ค. wono | discuss | tweet
+ javascript luxon diffnow javascript - Luxon.js get difference between now and input date in years - Stack OverflowI'm using luxon.js and want to check, is the user's age is over than 21 years. Code, that i'm using for it const isTooYoung = date => DateTime.fromFormat(date, 'dd.MM.yyyy') .diffNow() ... wono | discuss | tweet
+ javascript luxon javascript - How to parse UNIX timestamps with luxon? - Stack OverflowI tried to use the luxon library to move away from moment - to translate the 1615065599.426264 timestamp into an ISO date. According to the Online Epoch Converter this corresponds to GMT: Saturday, wono | discuss | tweet
+ urlsearchparams javascript URLSearchParams.delete() - Web APIs | MDNThe delete() method of the URLSearchParams interface deletes the given search parameter and all its associated values, from the list of all search parameters. wono | discuss | tweet
+ javascript console error console.error() - Web API | MDNconsole.error() ๋ฉ์๋๋ ์น ์ฝ์์ ์๋ฌ ๋ฉ์์ง๋ฅผ ์ถ๋ ฅํฉ๋๋ค. wono | discuss | tweet