Frontend & Web Dev, Marketing, SEO, GEO | HI Web
15.2K subscribers
477 photos
16 videos
51 files
98 links
• Guides on HTML, CSS, JavaScript, React
• Free Figma templates
• Tips on UI/UX design
• Career advice
• Portfolio tips, GitHub help, and soft skills for devs
• Live projects, coding challenges, tools, and more

For all inquiries contact @haterobots
Download Telegram
Javascript Reduce method Example.

▫️ Finding the longest word in a given string.

function longerWord(a, b) { 
if (a.length > b.length) {
    return a;
  } else {
    return b;
}
}

const sentence = 'Hey there what are you doing this Wednesday night';

const longest = sentence.split(' ').reduce(longerWord);

console.log(longest);

// Wednesday
14👍9
Free Figma Template: Sales Template

🧠 Difficulty: 🥕🥕

#Figma #Template
9👍5
🐹 TypeScript Interview Questions

Nowadays most modern ReactJS and NodeJS apps are created using TypeScript. Angular was already having it in-built. So, you go for a Reactt, Node or Angular interview, TypeScript questions ill be asked.
👍91🤔1
Free Figma Template: Tourism

🧠 Difficulty: 🥕🥕🥕

#Figma #Template
👍113
🚎 8 Mistakes to Avoid When Using React Hooks

React Hooks offer powerful ways to manage state and lifecycle events in functional components, but improper usage can lead to issues in your React app.
8👍3
Free Figma Template: Services for pensioners

🧠 Difficulty: 🥕🥕

#Figma #Template
👍116
🏃🏻‍♀️ Improving rendering performance with CSS content-visibility

Recently I got an interesting performance bug on emoji-picker-element:

I’m on a fedi instance with 19k custom emojis […] and when I open the emoji picker […], the page freezes for like a full second at least and overall performance stutters for a while after that.
👍65
Free Figma Template: Marketing company

🧠 Difficulty: 🥕🥕

#Figma #Template
👍123
🥷 Two CSS Properties for Trimming Text Box Whitespace

The text-box-trim and text-box-edge properties in CSS enable developers to trim specifiable amounts of the whitespace that appear above the first formatted line of text and below the last formatted line of text in a text box, making the text box vertically larger than the content within.
👍54
Free Figma Template: Digital agency Fouro

🧠 Difficulty: 🥕🥕🥕

#Figma #Template
11👍6
🐹 Introducing @bramus/style-observer, a MutationObserver for CSS

A shortcoming of MutationObserver (imho) is that it cannot be used to subscribe to value changes of CSS properties.

To plug that hole I built a library allowing just that: @bramus/style-observer. It allows you to attach JavaScript callbacks to changes in computed values of CSS properties.
7👍3
Free Figma Template: Рet care service

🧠 Difficulty: 🥕🥕

#Figma #Template
12🔥1
🌍 Submitting form data to Google Sheet from a React App

One thing that Google does that amazes me is the use cases that come with working with their workspace tools, be it Gmail, Google, or Meet. There are different ways to work with them.
In this article, we will explore integrating Google Sheets, a workspace tool created to serve as an online spreadsheet. It's a feature-rich text editor where you can create, edit and collaborate. How do we intend to do this? Imagine we are making a waitlist for a start-up product and need to get people's data and store it for a campaign. You can leverage the Google Sheets API to get this data instead of worrying yourself about the problem of creating a backend and some database.
9👍4
🪱 What is Dead Zone in JavaScript?

In JavaScript, you may encounter the term "dead zone." While it might sound tricky, understanding dead zones is crucial for writing efficient and bug-free code.
6👍2
📯 Memory Management in JavaScript with WeakRef and FinalizationRegistry

Today, we’re diving into the topic of memory management in JavaScript—but not in the traditional sense of garbage collection. Instead, we'll explore the powerful capabilities of WeakRef and FinalizationRegistry. These tools give developers control over weak references and asynchronous object finalization, allowing for more refined and efficient memory handling.
👍83
Free Figma Template: Auto service

🧠 Difficulty: 🥕🥕

#Figma #Template
👍64
👑 How to create Shapes with Inner Curves using CSS Mask

Naming those shapes is not that easy, same as creating them using CSS. Most of the time we reach for many elements/pseudo-elements and we try to stack them in a way to simulate the curvature. It’s a bit hacky, not flexible and it’s a lot of magic numbers everywhere! I will show you how to create those CSS shapes using one element and a flexible code that you can easily reuse.
👍74🔥3
Free Figma Template: VR Club

🧠 Difficulty: 🥕🥕🥕🥕

#Figma #Template
7👍6
🦾 Five Ways to Lazy Load Images for Better Website Performance

Images have become one of the most used types of content in modern web applications. Although using background images improves the application’s look and feel, increasing image sizes can significantly impact application performance.
7👍1
Free Figma Template: Crypto trading

🧠 Difficulty: 🥕🥕

#Figma #Template
7👍6
👽 How to control a React component with the URL

"Can we make this screen shareable via the URL?"

It's a common feature request. Surprisingly, it also leads to one of the most common causes of bugs in React applications.
9👍1