JavaScript DOM Tutorial #12 - Creating Elements

preview_player
Показать описание
Hey gang, in this JavaScript DOM tutorial we'll look at how to create elements on the fly in JavaScript and then insert them into the DOM.

----- COURSE LINKS:

---------------------------------------------------------------------------------------------
Other tutorials:

----- JAVASCRIPT FOR BEGINNERS:

----- CSS FOR BEGINNERS:

----- NODE.JS TUTORIALS

============== The Net Ninja =====================

================== Social Links ==================

Рекомендации по теме
Комментарии
Автор

I have checked all the videos on youtube explaining the DOM. This is the best one I've ever seen . Great job

mohammadkhalaf
Автор

Love this tutorial as it's a complement to the Web "Technologies" course I'm taking at college. Keep dishing out more videos ASAP. Great work mate!!

TechnGizmos
Автор

I like that little suspense twist at the end ninja .. very cool 😊

codedynamics
Автор

I've searched many tutorials throughout the web looking for good tutorials on web development and found lots of them terrible, even these with ~1milion views.

You on the contrary provide great stuff ! The only bad thing is that your videos are ending after some time :D
Keep on working and wish you very best !

piotrzaczek
Автор

instead of creating new elements, I just used "cloneNode(true)" from your previous lessons and it works fine! Thank you for your awesome tutorials.

tarnadoify
Автор

seriously bro u r excellent, you u r the 1 n nly guy who taught Javascript DOM this much easily I learnt it very nicely loved ur vedios.

saurabrakshit
Автор

could also, create a new LI and then use li.innerHTML and use `backticks` like so:

const newLI =
const inputValue = input.value;
newLI.innerHTML = `<span
<span class="delete">delete</span>
`

UL.appendChild(newLI)

nathancornwell
Автор

I follow your tutorials... ❤you're the best❤... &&please create a crash course about debugging code... keep strong💪

mehdizamani
Автор

Thanks a lot for your tutorials!! You are great!!!

luizmelo
Автор

another great series of videos tutorials about JS thank you a lot dude you're awaesome by the way i like how you say querySelectooor its so funny haha

asraouismail
Автор

Awesome tutorial mate.Keep doing videos like this dude

balajivenkatramans
Автор

Thanks bro, I learnt more, I don't know all these before, thanks a lot

sxsx
Автор

Good Job Bro....please upload your next tutorial.

ankitghiya
Автор

Awesome series, awesome books! Cheers pal ;)

plutopulp
Автор

You have a pretty good reading list :D

xoangelesxo
Автор

Great video i really found this useful.
but I have a question in my implementation I used '.innerHtml+=' and it worked out okay with lots of less lines of code is their any drawback to using this method or can I go ahead with this method.

journeytofullstack
Автор

please add interview or coding problems and solving approach .

inclinedscorpio
Автор

can you say difference between using createElements vs list.innerHTML += '<li><span

josephniranjan
Автор

Is this way, better than using template strings? like: const newSpan =

alejandrovaquera
Автор

Why can't we just add html li block just typed, instead of using createElement

thiyagutenysen