1. X
  2. Chris de Almeida
Log inSign up
Chris de Almeida
97 posts
Image
user avatar
Chris de Almeida
@SoftwareChrisGo
Programmer 馃挜 @IBM 馃挜 @TC39 馃挜 @w3c 馃挜 @openjsf 馃挜 @openssf 馃挜@[email protected]
Chicago, IL
SoftwareChris.com
Joined October 2018
155
Following
125
Followers
RepliesRepliesMediaMedia

Log in or sign up for X

See what鈥檚 happening and join the conversation

Continue with phone
or
Log in with username or email
Terms路Privacy路Cookies路Accessibility路Ads Info路漏 2026 X Corp.
  • user avatar
    Chris de Almeida
    @SoftwareChrisGo
    Oct 10, 2024
    is JavaScript (ECMAScript) a "web standard"?
    Yes77.8%
    No22.2%
    18 votesFinal results
    164
  • user avatar
    Chris de Almeida
    @SoftwareChrisGo
    May 17, 2024
    ugh I wish there was an easier way to do this
    source code of a github workflow whose only job/step is to run `echo 鉁卄 on every pull request and push
    140
  • user avatar
    Chris de Almeida
    @SoftwareChrisGo
    Feb 14, 2024
    What is Dead May Never Die: a jQuery story
    155
  • user avatar
    Chris de Almeida
    @SoftwareChrisGo
    Jun 23, 2023
    ugh I wish there was an easier way to do this
    function scrollToTop() {

  const currentX = document.documentElement.scrollLeft;
  const currentY = document.documentElement.scrollTop;

  for (let x = currentX, y = currentY; x >= 0, y >= 0; x--, y--) {

    window.scrollTo({
      left: x,
      top: y,
      behavior: 'smooth',
    });
  }

}
    89
  • user avatar
    Chris de Almeida
    @SoftwareChrisGo
    May 23, 2023
    You are tearing me apart, Jira!
    69
  • See @SoftwareChrisGo's full profile

    Sign up
    Log in
Advertisement
Advertisement