- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Using JavaScript Smooth Scrolling [LIVE CODING WITH PAYLOAD CMS & NEXTJS]
Learn to build full-stack apps with Payload — https://nlvcodes.com/courses/payload-essentials Reminder, this is not a step-by-step tutorial; it’s a live-coding and debugging session. Here's a link to the repo: https://github.com/midlomarketing/midlomark
In this live coding session, I explore how to refine my table of contents navigation by implementing smooth scrolling and removing ID anchors from the URL bar. We'll dive into JavaScript's scrollTo function, event listeners, and how to improve the user experience.
Topics Covered:
- Fixing table of contents scrolling issues
- Removing pound signs from URLs
- Using preventDefault to control link behavior
Subscribe for more web development tips!
Chapters:
00:00 - Introducing the live stream and table of contents functionality
01:47 - Setting up preventDefault in a clickHandler
03:22 - Setting up a smooth scroll using React on a table of contents
04:58 - Changing gears to use useEffect instead
06:35 - Confirming the functionality works
#webdevelopment #payloadcms #javascript
Видео Using JavaScript Smooth Scrolling [LIVE CODING WITH PAYLOAD CMS & NEXTJS] канала Nick Vogel
In this live coding session, I explore how to refine my table of contents navigation by implementing smooth scrolling and removing ID anchors from the URL bar. We'll dive into JavaScript's scrollTo function, event listeners, and how to improve the user experience.
Topics Covered:
- Fixing table of contents scrolling issues
- Removing pound signs from URLs
- Using preventDefault to control link behavior
Subscribe for more web development tips!
Chapters:
00:00 - Introducing the live stream and table of contents functionality
01:47 - Setting up preventDefault in a clickHandler
03:22 - Setting up a smooth scroll using React on a table of contents
04:58 - Changing gears to use useEffect instead
06:35 - Confirming the functionality works
#webdevelopment #payloadcms #javascript
Видео Using JavaScript Smooth Scrolling [LIVE CODING WITH PAYLOAD CMS & NEXTJS] канала Nick Vogel
Комментарии отсутствуют
Информация о видео
8 марта 2025 г. 18:00:46
00:07:57
Другие видео канала


![Rendering Metadata & Using Hooks in PayloadCMS and NextJS [Live Coding]](https://i.ytimg.com/vi/lXfocbOVHik/default.jpg)
![Implementing Payload CMS's Rich Text Component in My Boilerplate [LIVE CODING]](https://i.ytimg.com/vi/WAR17haLBww/default.jpg)
![PayloadCMS Hero Section: From Layout to Styling [LIVE CODING]](https://i.ytimg.com/vi/CjVJEYGMB5Y/default.jpg)




![Fixing My Navigation With Next.js & Payload CMS [LIVE CODING]](https://i.ytimg.com/vi/S7PhdF9Mnmk/default.jpg)
![Finalizing Our PayloadCMS Blog Index Page with NextJS and SCSS [LIVE CODING]](https://i.ytimg.com/vi/38HYjMvd-aM/default.jpg)


![Continuing with Industry-Specific Pages PayloadCMS and NextJS [LIVE CODING]](https://i.ytimg.com/vi/7BFWuXIElfc/default.jpg)
![Rhyming Dictionary: Finishing Forms and Advanced Rhymes [LIVE CODING]](https://i.ytimg.com/vi/N1R51iANAK0/default.jpg)



![Light & Dark Mode Icons in Payload Admin UI [LIVE CODING]](https://i.ytimg.com/vi/4e0aQgT2sNo/default.jpg)

