Goodmorning, quick question. Is it react 18.2.0 and react dom i should have as packages? Also should it be written like this
import * as React from ‘https://esm.sh/react@18.2.0’ or like this
import React from ‘https://esm.sh/react@18.2.0’ Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.54
Challenge: Front End Development Libraries Projects - Build a Random Quote Machine
You need to delete those two import lines and go to Settings -> JS -> Add Packages and fill in the search for “react” and “react-dom”. That will add those to the packages available in the app, no need to import. That is how CP works.
Yeah that fixed the packages thing, theyre not imported anymore. Im definitely gonna have to start over and take it a bit slower thank you though Kevin!