C drive file into url

Tell us what’s happening:
Describe your issue in detail here.
HOW DO I MAKE A C DRIVE FILE IN TO A URL (I NEED TO FIND THE ANSWER NOW) THANK YOU.

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
<input type="radio" name="test-name" checked>
<ul>
  <li>cat nip</li>
  <li>laser pointers</li>
  <li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
  <li>flea treatment</li>
  <li>thunder</li>
  <li>other cats</li>
</ol>
<form action="https://www.freecatphotoapp.com/submit-cat-photo">
  <label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor" value="indoor"> Indoor</label>
  <label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label><br>
  <label for="loving"><input id="loving" type="checkbox" name="personality" value="loving"> Loving</label>
  <label for="lazy"><input id="lazy" type="checkbox" name="personality" value="lazy"> Lazy</label>
  <label for="energetic"><input id="energetic" type="checkbox" name="personality" value="energetic"> Energetic</label><br>
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36

Challenge: Check Radio Buttons and Checkboxes by Default

Link to the challenge:

You upload the file to a server. What type of file is it?


Also, please do not use the ask for help button on the challenges to ask unrelated questions.

2 Likes

C drive file in html

You’re very vague as to what you’re trying to do.

Learning to describe problems is an important part of learning how to code.
Also, the more information you give us, the more likely we are to be able to help.

From what you’ve given us so far the answer has been provided to you. You’ll need to upload the file to a server.

If you’re working on one of the FCC projects it must be hosted live to submit it…or to post it in the #project-feedback subforum if you want feedback on it or require help.
FCC recommends https://codepen.io to new campers because it’s the easiest to set up but there are alternatives.

From the FAQ:

Do I have to use CodePen for the front end projects?

As long as your code is publicly viewable, and you have a live demo, you can use whatever you want.

You can use GitHub pages or surge.sh as alternatives to CodePen.

Hope that helps.

1 Like

What is FCC project?

Rather than getting off topic, please describe how we can help you.

1 Like

Sorry but I could not understand the reply.

You have a question. Apparently we have not answered your original question.
Learning to describe problems is an important part of learning how to code.
Also, the more information you give us, the more likely we are to be able to help.

From what you’ve given us so far the answer has been provided to you. You’ll need to upload the file to a server.

I need a help.

When I send my homework project no one can see my project because its URL start with “file:///C:/Users/user/…”

So I checked other kids URLs, they start with “www.” and I need to make my URL like other students.

What should I do?

How do I make my URL with www., not file:///C:/Users/…” ?

Your homework must be uploaded to a server so it can be accessed.

Your school probably has a procedure in place for you to do this. Check with your teacher and/or peers.