How To Build CodePen With React

How To Build CodePen With React

Web Dev Simplified

3 года назад

150,078 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

OK
OK - 06.09.2023 23:25

Uncaught (in promise) Error: Content DefaultConnector: Error when handling response of "IsInPageViewTrackingList": The message port closed before a response was received.

Ответить
Pratyugna
Pratyugna - 06.09.2023 18:33

Hey.. i tried to implement a terminal modal which would display all thr console.logs from the script. But i cant find any solution.. can anyone pls help

Ответить
#College Material
#College Material - 23.08.2023 20:42

How to answer this question when interviewer ask that what is different in your code editior that is already available in market

Ответить
Susanna Minasyan
Susanna Minasyan - 21.08.2023 19:06

you are the best of the best

Ответить
012_Aryan Bichpuria
012_Aryan Bichpuria - 19.07.2023 22:43

we can use any command of js????

Ответить
Satya Narayan Goswami
Satya Narayan Goswami - 13.07.2023 21:48

Had problems with codemirror package so opted for monaco editor instead now my whole page reloads when the srcDoc attribute of iframe changes.
Is there any fix

EDIT : It seems that it only happens on the mozilla developer edition. This wasn't a problem with brave or chrome. Maybe it is because mozilla doesn't use the chromium engine.

Ответить
Suad Hersi
Suad Hersi - 21.06.2023 19:04

if you run into codemirror problems, just get the [email protected], just solved some package problems I was stuck on

Ответить
Ichchha Gupta
Ichchha Gupta - 18.06.2023 08:36

OK, the video is great as always. But how can you guys focus when he is teaching😶

Ответить
InfLation
InfLation - 12.06.2023 06:22

Can u please share the codes

Ответить
Sangita Sarkar
Sangita Sarkar - 17.05.2023 16:21

Thank you posting such a woderful video. However, I am getting an error saying all the imported packages in Editor component are not expprted from codemirror. Is it possible to fix? I have installed codemirror as explained in the video

Ответить
Vikash
Vikash - 24.04.2023 21:15

"npm i codemirror react-codemirror2" command is not working.... plz help

Ответить
Adiii Tokyo
Adiii Tokyo - 13.04.2023 14:59

How to do code setup
Am not getting please help..

Ответить
Shubhanshu SRathore
Shubhanshu SRathore - 06.04.2023 20:36

Can anyone please recommend react setup video! I have been trying for a few hours.

Ответить
TANMAY MISHRA
TANMAY MISHRA - 12.03.2023 07:50

import 'codemirror/lib/codemirror.css';
import 'codemirror/theme/material.css';
import 'codemirror/mode/xml/xml';
import 'codemirror/mode/javascript/javascript';
import 'codemirror/mode/css/css';
NOT WORKING

Ответить
ジャワハル
ジャワハル - 06.03.2023 06:49

Npm config set legacy-peer-deps true
Npm i codemirror react-codemirror2

If it's still not working try
Npm i codemirror@version5

Ответить
Arslan
Arslan - 27.02.2023 16:28

Next Video: How to build my clone as a developer with React.

Ответить
Harsh Patani
Harsh Patani - 28.01.2023 10:59

How can we add multiple themes in the editor like we have it in vs code? For example: Material Theme or Github Dark Theme. If we have a pakacge for it then please let me know. Thankyou😊

Ответить
Jitendra Singh
Jitendra Singh - 20.01.2023 09:57

Hi ,
Thank you man for sharing this kind of content.
I'm trying to install codemirror and react-codemirror2 library and looks like my npm version is updated that's why it's throwing errors
so do we have any other way to install these library without changing the current version ?

Ответить
varsha goyal
varsha goyal - 13.01.2023 12:31

if you are unable to install any library , the use command ` npm config set legacy-peer-deps true` . you can install library in react

Ответить
Friend's explanation
Friend's explanation - 11.01.2023 10:07

Everything is Fab and Good . But whatever I'm writting in the editor is getting printed in reverse manner. Ex: <h1> Hello </h1> is getting printed as >1h/<olleH>1h<. And I don't know why is it happening like this

Ответить
SUBHAM BHADRA
SUBHAM BHADRA - 09.01.2023 14:52

How to build a PC with react

Ответить
Shejal Agrawal
Shejal Agrawal - 04.01.2023 11:52

this tutorial seems very old I'm getting following error:
Module not found: Error: Package path ./lib/codemirror.css is not exported from package /home/shejal/Desktop/WDS/codepen-clone/node_modules/codemirror (see exports field in /home/shejal/Desktop/WDS/codepen-clone/node_modules/codemirror/package.json)

Ответить
Sana mirza
Sana mirza - 26.12.2022 20:01

Can anyone please check my code ?

Ответить
DEB MOHANTA
DEB MOHANTA - 11.12.2022 21:21

java script has not worked in these codes

Ответить
Abhishek Singh Chauhan
Abhishek Singh Chauhan - 06.12.2022 11:33

Hey Kyle , I'm getting error while importing codemirror in editor js , i already installed codemirror and codemirror2 as you shown , how i can fix that

Ответить
Shivang purohit
Shivang purohit - 07.11.2022 13:05

Try this .. If you are facing issue regarding codemirror-2 package :- npm install react-codemirror2 --legacy-peer-deps

Ответить
Nitro 5 Gaming
Nitro 5 Gaming - 13.09.2022 20:13

why packages are not retrieving from codemirror ????

Ответить
Stormy Bear Florida
Stormy Bear Florida - 02.09.2022 03:08

Kyle, i'm really not trying to sexually harrass you, but you are a very seriously good looking man!

Ответить
Fantaday
Fantaday - 31.07.2022 12:46

Is there a way to prevent the iframe from flashing white on update? :)

Ответить
Robert Minardi
Robert Minardi - 07.06.2022 02:07

This was my first React project ever and wow did I learn a lot! So glad I found this channel! If I lived by a mountain, I'd climb to the top and yell "Web Dev Simplified is the greatest!" "...greatest" "...greatest" <= those are the echoes

Ответить
Renato Novaes
Renato Novaes - 30.05.2022 23:50

Mate, thanks a lot for this! I thought it was something really complex. But you make everything looks easy. And it's amazing to see how powerful simple things are. And how many problems we can solve making a good use of these tools.

Ответить
Kainat Sofi
Kainat Sofi - 16.05.2022 06:53

Can you please make a separate Video on a Project Like PDF to Audio Converter in Django python Step By Step, in Which We Can also Convert the Audio Language of the Converted File.

Ответить
Alejo Bengo
Alejo Bengo - 13.05.2022 15:46

Cant install react-codemirror2 or react-codemirror2-react-17. Any ideas?

Ответить
Vikas Verma
Vikas Verma - 02.05.2022 13:38

Do reply fast
anyone
be my guest....

Ответить
Vikas Verma
Vikas Verma - 02.05.2022 13:37

bro , i m seeing the result output pane in a reverse order of words. how to fix this??????

Ответить
Saurabh Shakya
Saurabh Shakya - 30.04.2022 19:27

Please Help !!!!!
HTML CSS is working fine but the problem is that the JS part is not getting executed.

Ответить
FreddyFozzyFilms
FreddyFozzyFilms - 29.04.2022 00:56

I can't install react-codemirror2 without it throwing a bunch of errors. Why I try any of the fixes listed online the editor just glitches

Ответить
tylim
tylim - 07.04.2022 13:07

you sure this is working?

yes iframe accept dynamic HTML and CSS, but not JS, if you change JS on the fly, it wont work

update: you can use key props to solve problem above but this only work after you build it, not working in development, I have 0 idea why

Ответить
Anhad Parashar
Anhad Parashar - 15.03.2022 06:54

My cursor is blinking but i cant type anything in the editor.. pls help

Ответить
Cultural Toast
Cultural Toast - 30.01.2022 02:54

Alright now build codepen in your codepen clone

Ответить
Instructor Tom
Instructor Tom - 07.01.2022 01:31

I know this is old, but if anyone sees this, then it'd be a huge help:

I'm missing the reasoning behind these lines in your useLocalStorage custom hook:

if (typeof initialValue === 'function') {
console.log("function")
return initialValue()
} else {
console.log("not function")
return initialValue
}

If I replace all of that with just "return initialValue" then the functionality is unhindered and I was careful about being sure to wipe localStorage each time I tested the change.

I'm just not sure why we'd have to specify the difference between "function" type and string type, as nothing is to be displayed initially from our js editor. I'm sure I'm missing a key concept here, so I'd love to hear what I'm missing if possible!

Ответить
Croken
Croken - 23.12.2021 21:29

quite frankly your hair looks like my new toothbrush. Sorry for making you angry. Love you and Kevin sir

Ответить
nomad
nomad - 22.12.2021 16:31

How to get console logs, errors from iframe?

Ответить
Venkatesh27
Venkatesh27 - 21.12.2021 19:07

Can u make canva clone, like building resume in canva

Ответить
Iftekhar Alam
Iftekhar Alam - 06.12.2021 09:34

thanks, i learn a lot from this video

Ответить
Sujoy Ghosh
Sujoy Ghosh - 29.11.2021 22:12

thanks a lot for this project

Ответить
Oleksii Braila
Oleksii Braila - 06.10.2021 15:16

Great video! but I`d like to find out how to add the possibility to write on jsx/react? thank you in advance)

Ответить
Joseph Vasconcelos
Joseph Vasconcelos - 05.10.2021 23:02

is there any functionality with code-mirror that I can upload the code created in the text box to an api using requests

Ответить
Random Guy
Random Guy - 14.08.2021 14:01

React-codemirror2 is not for react versions above 16.x latest is 17.x any alternatives for react-codemirror2
Please answer this!

Ответить
A k
A k - 13.08.2021 16:05

js alert function not working why?

Ответить