SuperHi
SuperHi
  • Видео 121
  • Просмотров 296 644
Weather-aware websites: How to add weather data and styling to a website using Javascript
In this tutorial, Rik will show you how to integrate the Open Meteo API feed into your very own website so you can add your own weather data and theme!
00:00 Intro
00:26 HTML and CSS
01:41 How does the Open Meteo API work?
03:45 Showing the temperature
10:57 Showing the current weather
16:28 Updating style based on weather
20:32 Outro
Links:
open-meteo.com/
Demo:
superhi-videos.s3.amazonaws.com/tutorials/blueprint-weather/index.html
Download:
superhi-videos.s3.amazonaws.com/tutorials/blueprint-weather.zip
You can follow Rik and SuperHi at:
riklomas
superhi_
hisuperhi
riklomas
www.superhi.com
Просмотров: 1 829

Видео

The modern way to add animation on scroll with Javascript and CSS
Просмотров 6 тыс.Год назад
In this tutorial we talk about how to use the modern IntersectionObserver object in Javascript to implement animation on scroll whenever tags are in view. 00:00 Intro 00:43 Intersection Observer 10:58 Adding CSS 17:23 Optional animation 18:46 Outro Demo: superhi-videos.s3.amazonaws.com/tutorials/animate-on-scroll/index.html Download: superhi-videos.s3.amazonaws.com/tutorials/animate-on-scroll.z...
Create a pro-level 3D site, using Three.js, Motion One + GLSL shaders, with an award-winning coder.
Просмотров 4,5 тыс.Год назад
In this project, award winning coder and founder of SuperHi, Rik Lomas, will show you how to create your very own professional-level 3d website using tools such as Three.js, Motion One, GLSL shaders, Vite build system, HTML and CSS, and more! Inspired by the award-winning Office for Future Furnishing site, Normal Sneakers is using several cutting edge techniques to achieve an effective 3d web e...
How Apple do scroll-based video scrubbing using CSS and Javascript
Просмотров 8 тыс.Год назад
How do Apple make their landing pages look like they're videos that play as you scroll? Well, that's because that's exactly what they are! In this tutorial, Rik will show you how to add in video scrubbing based on your users' scroll position! 00:00 Intro 00:50 HTML and CSS 06:40 Javascript 16:43 Outro Links: www.apple.com/macbook-air-13-and-15-m2/ Demo: superhi-videos.s3.amazonaws.com/tutorials...
Scroll animations! How to add a flowing path like the Lusion site with SVG and Javascript
Просмотров 9 тыс.Год назад
As seen on the new Lusion site, scroll animations such as a path that grows as you scroll down a path are effective web design techniques. In this tutorial, Rik shows you how to add your own SVG paths that fill in as you scroll! 00:00 Intro 00:50 HTML and CSS 04:28 Image to SVG 07:06 Javascript 20:11 Outro Reminder that if you're wanting a more structured approach to learning creative skills, c...
How to make a springy font weight effect with Javascript and variable typefaces
Просмотров 1,5 тыс.Год назад
Is it springy font weight? Magnetic type? Or something else completely... any way you call it, it's a great typographic effect that you can add with a little bit of Javascript and a variable font! Even if you don't particularly like this effect, seeing how it's made will let you know how other similar effects using mouse movement are created. 00:00 Intro 00:46 Let's code 21:41 Outro Links: twit...
How the best sites are made: The Studio's award-winning wonky grid slideshow
Просмотров 2 тыс.Год назад
Sometimes even the best sites can bamboozle the professionals. In this tutorial, we'll explain how The Studio built their award-winning 'wonky' grid slideshow. It's a fantastic effect and while it seems like it could be days of work, it's actually more straight forward than you may imagine! Rik explains how to do it! 00:00 Intro 00:48 HTML CSS structure 05:54 Setting up a slideshow 13:25 Fading...
How to add complex image masking to website images with CSS clip-path and Figma
Просмотров 6 тыс.Год назад
You may have seen image masks on sites like Abbotsford Convent or Creative Lives in Progress - of course you can prepare images manually but why not make it easy and flexible by letting CSS do the work! In this tutorial, Rik will show you how to add both simple and complex image masking by taking a Figma prepared SVG and implementing with CSS clip-path. 00:00 Intro 00:33 Basic mask shapes 03:26...
How to add endless scroll to a website using Javascript
Просмотров 1,9 тыс.Год назад
A modern web design technique involves creating a website with the illusion of endless scrolling, making it seem as if the page never ends. This engaging feature requires only a few lines of Javascript to implement. Rik is here to guide you through the process! 00:00 Intro 00:56 Cloning with Javascript 04:29 Scroll direction 11:15 CSS improvements 12:34 Outro Links: photographs.pm/ juliavolkmar...
How a top fashion site was made: Nolook Inc's mouse follow effect with CSS and Javascript
Просмотров 1,8 тыс.Год назад
In this tutorial, we discuss the top Japanese fashion brand, Nolook Inc., and explore how the effect on the homepage is created. There are several components that contribute to the impressive mouse-follow effect, which gives the page a dynamic presence. We'll break it down step by step, from understanding the HTML structure to examining how individual 'tween' states lend a more natural feel. 00...
How award-winning sites are made: the Sticky Split Layout, as seen on Useful Books and SuperHi Plus
Просмотров 1,9 тыс.Год назад
We'll demonstrate how to create the sticky split layout, a feature seen on many popular websites. This layout allows one side of a webpage to track alongside the other as you scroll. Achieving this requires just a touch of CSS! Rik is here to show you how to do it. 00:00 Hello! 01:11 How to code 05:21 Outro Demo: superhi-videos.s3.amazonaws.com/tutorials/useful-books/index.html Links: www.usefu...
How award-winning sites are made: Midnight's mouse trail effect
Просмотров 4,5 тыс.Год назад
The Midnight site has been featured on some of the best web design galleries such as SiteInspire and one of the lovely features on it is the long mouse trail effect. In this video, we talk about how that effect was made! Check out the Midnight site over at midnight.agency/ 👉 One thing I missed in the vid! Add pointer-events: none; to the svg's CSS so that you can click through it! Demo: superhi...
How award-winning sites are made: Torque Editions panning layout
Просмотров 1,6 тыс.Год назад
Award-winning site Torque Editions has a beautiful design that includes some intricate techniques that build up to make a panning, map-style layout. In this tutorial, we cover how a site like this actually work and build our own version of it. Check out their site over at torquetorque.net/ Torque Editions was designed and coded by Jake Dow-Smith Studio - jakedowsmith.com/ 00:00 Intro 00:24 Pann...
Five CSS @media queries you might not know, that will improve your users' lives
Просмотров 474Год назад
You may have heard of @media queries in CSS for changing the layout when on mobile, but did you know there's more than just that? In this video, we'll talk about five different media queries that you may not have heard about which are great for accessibility and user experience. Demo: superhi-videos.s3.amazonaws.com/tutorials/mq/index.html Download: superhi-videos.s3.amazonaws.com/tutorials/mq....
How to create a resizable column layout with Javascript
Просмотров 1,4 тыс.Год назад
A commenter asked how the resizable layout on the Kong&Ha site worked - you ask and you shall receive! In this tutorial, we show you how to make a custom resizable layout with Javascript. 00:00 Intro 00:40 Let's code Links: www.duokongha.com/projects_kongha-en/project-duo-kong-ha-01 Images by: unsplash.com/@dentrushtin unsplash.com/@jeremyliew Demo: superhi-videos.s3.amazonaws.com/tutorials/res...
How to improve your web typography with just a few lines of CSS
Просмотров 866Год назад
How to improve your web typography with just a few lines of CSS
Typescript 101 - Learn to transition from Javascript in just 20 minutes
Просмотров 1,2 тыс.Год назад
Typescript 101 - Learn to transition from Javascript in just 20 minutes
Dynamic Color Slider: Create a website that adjusts its theme in real-time with CSS and Javascript
Просмотров 1,5 тыс.Год назад
Dynamic Color Slider: Create a website that adjusts its theme in real-time with CSS and Javascript
How to add dark mode to your website with CSS variables
Просмотров 1,3 тыс.Год назад
How to add dark mode to your website with CSS variables
How to add a frosted glass effect to your website
Просмотров 2,6 тыс.Год назад
How to add a frosted glass effect to your website
Draggable, resizable + stackable panels using Javascript
Просмотров 2,8 тыс.Год назад
Draggable, resizable stackable panels using Javascript
What's the difference between a typeface and a font
Просмотров 9 тыс.Год назад
What's the difference between a typeface and a font
Using Ligatures
Просмотров 6 тыс.Год назад
Using Ligatures
Scaling fonts for different screen sizes
Просмотров 2,8 тыс.Год назад
Scaling fonts for different screen sizes
Pairing Type
Просмотров 11 тыс.Год назад
Pairing Type
How to make fonts work for different languages
Просмотров 9 тыс.Год назад
How to make fonts work for different languages
How and when to control line height
Просмотров 7 тыс.Год назад
How and when to control line height
Choosing a typeface for body text
Просмотров 11 тыс.Год назад
Choosing a typeface for body text
Adding web fonts to your site with Google Fonts
Просмотров 21 тыс.Год назад
Adding web fonts to your site with Google Fonts
How to get started with variable fonts
Просмотров 11 тыс.Год назад
How to get started with variable fonts

Комментарии

  • @i1r9e9n7e
    @i1r9e9n7e 23 часа назад

    Hi! Thanks for the tutorial but I'm having some issues when it comes to upload images on the web editor. I think it's not working propertly uploading documents :S

    • @i1r9e9n7e
      @i1r9e9n7e 22 часа назад

      And also window.pageYOffset it's deprecated now :S

  • @SteveHart282
    @SteveHart282 5 дней назад

    How do you achieve the gradient they have on Lusion using an SVG? Great video!

  • @mig8447
    @mig8447 10 дней назад

    What about multi-panel resizing (3 or more)

  • @JosephM1M5A4
    @JosephM1M5A4 11 дней назад

    Thank you!

  • @Goeinavund
    @Goeinavund 15 дней назад

    Such an underated channel you deserve way more subscribers, I will always love the way you explain these complex matter into easy to understand concepts. keep doing what ur doing its awesome!

  • @jmg9509
    @jmg9509 16 дней назад

    I wish you would’ve shown if it was responsive...

  • @ShrutikaSh
    @ShrutikaSh 26 дней назад

    i tried, this i works, love it, but how to make it smoot, the video playing is kind of choppy :(

  • @aminemajdi1248
    @aminemajdi1248 Месяц назад

    Thank you very much

  • @CoderDalower
    @CoderDalower Месяц назад

    Very helpful video. Thanks a lot

  • @clangsison
    @clangsison Месяц назад

    learned a lot from this tutorial, thank you!

  • @gilsonconceicao5201
    @gilsonconceicao5201 Месяц назад

    Very nice. Thanks

  • @jv-wd4po
    @jv-wd4po Месяц назад

    hey so i have an issue when there is a border-radius applied on the shapes. They appear huge on the site. Do you know any fix for this?

  • @Pywyoyuyp
    @Pywyoyuyp Месяц назад

    Thank you so much, I really enjoyed this tutorial. But I have a problem and that is when I scroll to the bottom of the page , when the line finishes drawing itself, it disappears. When I scroll a little up, it is again there, scrolling itself backways as it should. but i don't want it to disappear from my view. How to fix this?

  • @jesperandreassen120
    @jesperandreassen120 Месяц назад

    Great video! How would you go about having the animation "bounce" the end of the stroke when the user stops scrolling?

  • @yashgaurav8499
    @yashgaurav8499 Месяц назад

    cube🧊

  • @cats_in_disguise
    @cats_in_disguise 2 месяца назад

    cube!

  • @playinhertz4494
    @playinhertz4494 2 месяца назад

    Your portfolio is really amazing. Can you make a video on how you made it . Pls much requested

  • @riteshkc814
    @riteshkc814 2 месяца назад

    thanks been scratching my head for hours to implement a design 🥴🥴

  • @安田胡桃
    @安田胡桃 2 месяца назад

    Thank you so much!!! This help a lot

  • @Strix_sqli
    @Strix_sqli 3 месяца назад

    i dont think they did it with svg on their website

  •  3 месяца назад

    Nice video, however it does not look good on mobile viewport

  • @SarahSCampos
    @SarahSCampos 3 месяца назад

    Thank you so much, that was exactly what I needed!

  • @MrAbbo11
    @MrAbbo11 3 месяца назад

    you are an excellent teacher and clearly a very smart man as you distill things in a way that is easily accessible. Thank you!

  • @mikefrancis9424
    @mikefrancis9424 3 месяца назад

    This was awesome - thank you! I had a lot of fun repurposing this for a remix app!

  • @RatedPR
    @RatedPR 3 месяца назад

    This is amazing, exactly what I was trying to learn to do, really good explanations too, will subscribe

  • @asifreza23
    @asifreza23 3 месяца назад

    Thank you so so so so so so so so so so so so so so so much!!!!

  • @sadohkoo
    @sadohkoo 4 месяца назад

    Super helpful video, thanks!

  • @jennyvan2409
    @jennyvan2409 4 месяца назад

    this is amazing, there are not alot of videos on youtube that covers creative coding ideas as like urs so thank you sm for this!! can i ask if i wanted to replace the panels by purely images in divs that can be draggable, resize and stackable, is it possible to approach this idea in reference to your video? thanks in advance:)

  • @MillerThriller
    @MillerThriller 4 месяца назад

    Can this be replicated into wix studio? I’ve been trying to figure this out forever! Any help is greatly appreciated and compensated if needed.

  • @HuyenNguyen-bb3cg
    @HuyenNguyen-bb3cg 4 месяца назад

    Thank you so much! Simple but powerful JS and CSS techniques

  • @BrunoRodriguesSantos-wl4cj
    @BrunoRodriguesSantos-wl4cj 4 месяца назад

    I love your videos. Do you mind sharing the tool/tools you use to record your screen for the video?

  • @onion_13
    @onion_13 4 месяца назад

    @SuperHi I tried that and it did make it endless, but between each repeating section, there was an ugly space between them. How do you fix it?

  • @piskanaft
    @piskanaft 4 месяца назад

    thank you man

  • @plus-wh1uf
    @plus-wh1uf 5 месяцев назад

    Can I have a look at the source code in the instructional video? Thank you very much

  • @codespice
    @codespice 5 месяцев назад

    How to make the video smmoth like apple

  • @streamingvideo6654
    @streamingvideo6654 5 месяцев назад

    This is awesome mate! Simple JS but works great. Thanks so much.

  • @growwithdesign
    @growwithdesign 5 месяцев назад

    im trying to put a shine effect on top of it when we hove on the image. doesn't work. Any thoughts?

  • @njanadesign
    @njanadesign 5 месяцев назад

    Tutorials that never disappoint! What if I was building in Webflow and using a CMS collection and want to randomise the clipping paths on all the collection items?

  • @sa8452
    @sa8452 5 месяцев назад

    Wait, why’re the views on this so low?

  • @bruhmoment3731
    @bruhmoment3731 5 месяцев назад

    This channel is like a goldmine to me. I've seen so many cool web design effects on the internet. Have no idea how to implement them and I don't even know what to search to find tutorials about them. This channel is full of those cool effects I have been wanting to try.

    • @bruhmoment3731
      @bruhmoment3731 5 месяцев назад

      and on top of that you're an excellent teacher

  • @bruhmoment3731
    @bruhmoment3731 5 месяцев назад

    Can you please keep teaching these cool, creative effects/designs?

  • @bruhmoment3731
    @bruhmoment3731 5 месяцев назад

    This channel has some of my favorite tutorials

  • @bruhmoment3731
    @bruhmoment3731 5 месяцев назад

    Thank you so so so so so so so so so so so so so so so much!

  • @Farkeman
    @Farkeman 5 месяцев назад

    Great intro, thank you!

  • @ArielKatena
    @ArielKatena 5 месяцев назад

    Thanks really amazing

  • @binaryxd4812
    @binaryxd4812 5 месяцев назад

    Thank you so much !

  • @The_Wookiee
    @The_Wookiee 5 месяцев назад

    Brilliant vid!

  • @xiaoguabushigua
    @xiaoguabushigua 5 месяцев назад

    You are my hero!

  • @WasimAkthar8055
    @WasimAkthar8055 5 месяцев назад

    // Select all elements with class 'pane' const panes = document.querySelectorAll('.pane') // Initialize z-index counter let z = 1 // Iterate over each pane panes.forEach((pane) => { // Find elements within the pane const title = pane.querySelector('.title') const corner = pane.querySelector('.corner') // Event listener for mouse down on the pane pane.addEventListener('mousedown', () => { // Increment z-index counter and update style z = z + 1 pane.style.zIndex = z }) // Event listener for mouse down on the title element within the pane title.addEventListener('mousedown', (event) => { // Add class to indicate dragging state pane.classList.add('is-dragging') // Get initial position of the pane let l = pane.offsetLeft let t = pane.offsetTop // Get initial position of the mouse let startX = event.pageX let startY = event.pageY // Function to handle dragging const drag = (event) => { event.preventDefault() // Calculate new position of the pane based on mouse movement pane.style.left = l + (event.pageX - startX) + 'px' pane.style.top = t + (event.pageY - startY) + 'px' } // Function to handle mouse up event const mouseup = () => { // Remove dragging class pane.classList.remove('is-dragging') // Remove event listeners for dragging document.removeEventListener('mousemove', drag) document.removeEventListener('mouseup', mouseup) } // Add event listeners for mouse move and mouse up document.addEventListener('mousemove', drag) document.addEventListener('mouseup', mouseup) }) // Event listener for mouse down on the corner element within the pane corner.addEventListener('mousedown', (event) => { // Get initial size of the pane let w = pane.clientWidth let h = pane.clientHeight // Get initial position of the mouse let startX = event.pageX let startY = event.pageY // Function to handle resizing const drag = (event) => { event.preventDefault() // Calculate new size of the pane based on mouse movement pane.style.width = w + (event.pageX - startX) + 'px' pane.style.height = h + (event.pageY - startY) + 'px' } // Function to handle mouse up event const mouseup = () => { // Remove event listeners for resizing document.removeEventListener('mousemove', drag) document.removeEventListener('mouseup', mouseup) } // Add event listeners for mouse move and mouse up document.addEventListener('mousemove', drag) document.addEventListener('mouseup', mouseup) }) })

  • @mateostabio
    @mateostabio 6 месяцев назад

    Very helpful and great teacher. I wish you had more like this!