Coding Challenge #7 - Scrolling Words Animation
Skills:
HTML & CSS90%
Key Takeaways
The video demonstrates a scrolling words animation using CSS animations, where different words are cycled between without using JavaScript. The challenge is to create this effect using the provided starter files on GitHub, which include an index.html file and a styles.css file.
Full Transcript
okay then gang so in this challenge I want you to try your hands at this effect right here where we have different words and they're being cycled between using a CSS animation so to begin with the word starts as JavaScript which we'll see in a second then to node then to python then to HTML CSS then to flutter and then it Scrolls all the way back to the top and it starts again and this animation is just on Loop it will continue and continue so there's no JavaScript involved in this purely CSS animations so I'm going to show you now how to get some starter files for this and hopefully you can have a good crack at it so you can find the starter files for this Challenge on GitHub and this repo coding challenge is I will leave this link down below I've already selected the challenge 7 start Branch right here which is what you need to select and then you can see we have an index.html file and a styles.css file you can download these by going to code and then downloading a zip right here unzipping the folder and just opening it up in some kind of text editor okay so once you've done that you'll see inside the HTML file we have a very simple template right here we have an H1 then we have a section and the section contains that kind of scroll a bit now the first word learn that's not part of the scrolling remember it says learn and then whatever it is so JavaScript node python Etc so that bit right here is just in its own div then we have a div down here which contains the word list if and inside that we have a bunch of spans with five different words so these are the things we need to kind of scroll and animate now you shouldn't need to change this index.html file one bit but you can do if you want to if you can think of a different way to solve this problem feel free to use that so if we go to the styles.css file we can see we already have a few Styles just a reset right here with a new Google fonts we style the background text align to the center color white and H1 with a bit of margin and then the section right here which is this section surrounding these two divs we grab that and we use the direct descendant selector to grab the divs which are direct children so this div and this div it won't grab this because it's not a direct child of the section just these two and what we say for those two is display them as inline block and that means that this is going to sit next to this so the left to right and we need that because it needs to be learn JavaScript learn node Etc then we say text align left height of each is 30 pixels and the line height of each is 30 pixels so this is important because I use these kind of values inside our CSS animation later on so pay attention to those alright so that is your starter file have a really good go at this and then in a day or so I'm going to post up my solution good luck
Original Description
📂🥷🏼 Access the starter files on GitHub:
https://github.com/iamshaunjp/Coding-Challenges/tree/challenge-7-start
🚀🥷🏼 Get access to all free & PREMIUM courses on Net Ninja Pro:
https://net-ninja-pro.teachable.com/p/net-ninja-pro/
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Net Ninja · Net Ninja · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Regular Expressions (RegEx) Tutorial #14 - Matching a Username
Net Ninja
Regular Expressions (RegEx) Tutorial #15 - Email RegEx Pattern
Net Ninja
Regular Expressions (RegEx) Tutorial #16 - Finishing Touches
Net Ninja
GraphQL Tutorial #1 - Introduction to GraphQL
Net Ninja
GraphQL Tutorial #2 - A Birdseye View of GraphQL
Net Ninja
GraphQL Tutorial #3 - Project (stack) Overview
Net Ninja
GraphQL Tutorial #4 - Making Queries (front-end preview)
Net Ninja
GraphQL Tutorial #5 - Express App Setup
Net Ninja
GraphQL Tutorial #6 - Setting up GraphQL
Net Ninja
GraphQL Tutorial #7 - GraphQL Schema
Net Ninja
GraphQL Tutorial #8 - Root Query
Net Ninja
GraphQL Tutorial #9 - The Resolve Function
Net Ninja
GraphQL Tutorial #10 - Testing Queries in Graphiql
Net Ninja
GraphQL Tutorial #11 - GraphQL ID Type
Net Ninja
GraphQL Tutorial #12 - Author Type
Net Ninja
GraphQL Tutorial #13 - Type Relations
Net Ninja
GraphQL Tutorial #14 - GraphQL Lists
Net Ninja
GraphQL Tutorial #15 - More on Root Queries
Net Ninja
GraphQL Tutorial #16 - Connecting to mLab
Net Ninja
GraphQL Tutorial #17 - Mongoose Models
Net Ninja
GraphQL Tutorial #18 - Mutations
Net Ninja
GraphQL Tutorial #19 - More on Mutations
Net Ninja
GraphQL Tutorial #20 - Updating the Resolve Functions
Net Ninja
GraphQL Tutorial #21 - GraphQL NonNull
Net Ninja
GraphQL Tutorial #22 - Adding a Front-end
Net Ninja
GraphQL Tutorial #23 - Create React App
Net Ninja
GraphQL Tutorial #24 - Book List Component
Net Ninja
GraphQL Tutorial #25 - Apollo Client Setup
Net Ninja
GraphQL Tutorial #26 - Making Queries from React
Net Ninja
GraphQL Tutorial #27 - Rendering Data in a Component
Net Ninja
GraphQL Tutorial #28 - Add Book Component
Net Ninja
GraphQL Tutorial #29 - External Query File
Net Ninja
GraphQL Tutorial #30 - Updating Component State
Net Ninja
GraphQL Tutorial #31 - Composing Queries
Net Ninja
GraphQL Tutorial #32 - query variables
Net Ninja
GraphQL Tutorial #33 - Re-fetching Queries
Net Ninja
GraphQL Tutorial #34 - Book Details Component
Net Ninja
GraphQL Tutorial #36 - Styling the App
Net Ninja
GraphQL Tutorial #35 - Making a Single Query
Net Ninja
Build Apps with Vue & Firebase - Udemy Course
Net Ninja
Updated Vue & Firebase Course (Udemy)
Net Ninja
Vue & Firebase Real-time Chat (Preview) #1 - Intro
Net Ninja
Vue & Firebase Real-time Chat (Preview) #2 - Project Structure
Net Ninja
Vue & Firebase Real-time Chat (Preview) #3 - Firestore Setup
Net Ninja
Vue & Firebase Real-time Chat (Preview) #4 - Welcome Screen
Net Ninja
Vue & Firebase Real-time Chat (Preview) #5 - Props in Routes
Net Ninja
Vue & Firebase Real-time Chat (Preview) #6 - Route Guards
Net Ninja
Vue & Firebase Real-time Chat (Preview) #7 - Chat Window
Net Ninja
Vue & Firebase Real-time Chat (Preview) #8 - New Message Component
Net Ninja
Object Oriented JavaScript Tutorial #1 - Introduction
Net Ninja
Object Oriented JavaScript Tutorial #2 - Object Literals
Net Ninja
Object Oriented JavaScript Tutorial #3 - Updating Properties
Net Ninja
Object Oriented JavaScript Tutorial #4 - Classes
Net Ninja
Object Oriented JavaScript Tutorial #5 - Class Constructors
Net Ninja
Object Oriented JavaScript Tutorial #6 - Class Methods
Net Ninja
Object Oriented JavaScript Tutorial #7 - Method Chaining
Net Ninja
Object Oriented JavaScript Tutorial #8 - Class Inheritance
Net Ninja
Object Oriented JavaScript Tutorial #9 - Constructors (under the hood)
Net Ninja
Object Oriented JavaScript Tutorial #10 - Prototype
Net Ninja
Object Oriented JavaScript Tutorial #11 - Prototype Inheritance
Net Ninja
More on: HTML & CSS
View skill →
🎓
Tutor Explanation
DeepCamp AI