Tell us what’s happening:
Hello everyone. I decided to do this project using React and Bootstrap on VS Code, and I have completed it. I’m not sure how to transfer the code onto codepen.io to run the tests. I tried
npm run build , but that doesn’t condense the project into single js and css files.
Your code so far
Haven’t included because the problem isn’t with the code, but I can provide it.
Your browser information:
User Agent is:
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0
Challenge: Front End Development Libraries Projects - Build a Random Quote Machine
Link to the challenge:
pretty sure i uploaded from VScode to github and submitted that but if you prefer codepen can’t you just copy-paste the code from each file? i guess you need the cdn thing in the HTML.
edit: cdn thingy already done in the link you gave to codepen
Cool, that’s not a bad idea to just to it through GitHub.
With the testing, this link is provided
https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js to test outside of codepen, but I don’t know what to do with it.
you put it in the HTML file. thereare posts around here somewhere for that.
you will need to take time to learn to upload to github, it depends if thats something you want to do. codepen would be quicker
Cool thanks dude, got the testing to work.
I’m ok with git and GitHub, so I’ll put it up there.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.