Log inSign up
Chris de Almeida
96 posts
Chris de Almeida profile banner
@SoftwareChrisGo

Chris de Almeida

@SoftwareChrisGo
Programmer 馃挜 @IBM 馃挜 @TC39 馃挜 @w3c 馃挜 @openjsf 馃挜 @openssf 馃挜@[email protected]
Chicago, IL
SoftwareChris.com
Joined October 2018
155
Following
126
Followers
RepliesRepliesRepostsRepostsMediaMedia

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.
  • @SoftwareChrisGo
    Chris de Almeida
    @SoftwareChrisGo
    Oct 10, 2024
    is JavaScript (ECMAScript) a "web standard"?
    Yes77.8%
    No22.2%
    18 votesFinal results
  • @SoftwareChrisGo
    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
  • @SoftwareChrisGo
    Chris de Almeida
    @SoftwareChrisGo
    Feb 14, 2024
    What is Dead May Never Die: a jQuery story
  • @SoftwareChrisGo
    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',
    });
  }

}
  • @SoftwareChrisGo
    Chris de Almeida
    @SoftwareChrisGo
    May 23, 2023
    You are tearing me apart, Jira!
Advertisement
Advertisement