beforesemicolon / tutorials-files Goto Github PK
View Code? Open in Web Editor NEWbefore semicolon tutorial files
before semicolon tutorial files
Hi @ECorreia45 ,
The expand animation of the card-expand example is broken. It just jumps to the completed state instead of doing a smooth transition.
The close animation however works perfectly fine.
P.S.- Great youtube channel. Keep up the good work.
In following along the tutorial for creating a doubly linked list, when I try to run the new insert method, I get the above error. Here is my insert code
insert(element, index = 0){
if(index > this.size) return false
const node = this.createNode(element)
if(index === 0){
if(this.head){
node.next = this.head
this.head.prev = node
} else {
this.tail = node
}
this.head = node
} else if(index === this.size){
this.tail.next = node
node.prev = this.tail
this.tail = node
} else {
const current = this.getNodeAt(index)
const prev = current.prev
node.prev = prev
node.next = current
prev.next = node
current.prev = node
}
this.size++
return true
}
Here is the screenshot of the error
![Screenshot 2022-12-12 211656](https://user-images.githubusercontent.com/99618731/207046001-391a3f16-2fa4-455a-955c-5411e5c1784c.png)
Line 30 in 5f19e76
return this.#list.pop();
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.