Need help with frontend project

Hello everyone!
I’m new to coding, I’m nearly 2 months into coding. I’m going to make efforts to be more active here, so far I’ve tried mostly relying on tutorials and repitition/whatever sources I can find.
For the Front End Project, I’ve been trying different things - codepen, React, Visual Studio Code, etc. Yet my code doesn’t seem to work, and I don’t know what to do.
This is what I have so far. Can anyone help? Would really appreciate it. Thanks!

<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script crossorigin src=""></script>
<script crossorigin src=""></script>
<script src=""></script>
    <title>Random Quote Machine</title>
    <div id = "app"></div>
    <script type="text/babel" src="./index.js"></script>
function App(){
    return {
<div> "Hello World" </div>

ReactDOM.reader(<App/>, document.getElementById("app"))

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

1 Like

Yes, this is what I have so far on Codepen. I want to finish it in Codepen before repeating it in React. The code I put above is what I tried for Visual Studio, where I was trying to enable React.

Yes, I think you’re right. I’m going to repeat them to make sure I get the concepts. Thank you.
Sometimes I’m not sure if I got the concept of what I’m doing, so it helps to get immediate feedback.

1 Like

Am I far off?
And is this the right way to enable React?

//First line ReactDOM.reader(, document.getElementById(“app”)) //

First Line //script crossorigin src=“”>//

//script crossorigin src=“”>// Second Line

////Third Line

It’s fully gone now, though I still have it in my visual studio code. Should I take it out from there as well?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.