hi there. i'm inbtwn. nice to meet ya!
i sometimes post about Things, mostly niche internet things like youtube videos, webcomics, etc. but i also reblog (rebug) a LOT of cool things so uhhh be warned
i love the linked website. it has this gem in its JS:
loginBtn.onclick = function() {
let usernamevalue = username.value
let passwordvalue = password.value
// console.log(usernamevalue, passwordvalue)
// 便于检查的时候判断是否成功
if (!usernamevalue) {
return alert('Please enter a correct user name')
//return 跳出当前函数,并且返回后面的值
}
if (!passwordvalue) {
return alert('Please enter a correct password')
//return 跳出当前函数,并且返回后面的值
}
console.log(usernamevalue, passwordvalue)
}
it literally just logs it to the browser console. lol.
and their favicon is the vue.js logo even though they dont use vue.js lol