Survey Form - Build a Survey Form

Tell us what’s happening:

I am almost finished with my survey form. I am trying to input a back-ground image .
I am not sure how to install an image from my pc into the freecode to use as my back-ground. I know how to do it using a full URL, i.e., to attach an image using a website link, but the image i want is on my pc.
Just point me in the right direction please.

Your code so far


The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

<!DOCTYPE html>
<html lang="en">

    <meta charset="UTF-8">
    <title>Registration Form</title>
    <link rel="stylesheet" href="styles.css" />

<body div class="outline">
    <h1>Introduction To Programming</h1>

    <p id="descriptrion">This form attempts to quantify user satisfaction with the platform.The feedback will be used to
        improve the curriculum.</p>

    <form method="post" action=''>

        <fieldset div class="personal-info">
            <label for="name">Name:</label><br>
            <input id="name-label" name="name" type="text" placeholder="John Doe" required><br>

            <label for="email">Email:</label><br>
            <input id="email-label" name="email" type="email" placeholder="" required><br>

            <label for="age">Age(optional):</label><br>
            <input id="age-label" name="age-label" type="number" placeholder="Enter your age" min="18" max="100"

            <label for="number">Enter your phone number:</label><br>
            <input id="number-label" type="tel" placeholder="123-45-678" min="7" max="10"
                pattern="[0-9]{3}-[0-9]{2}-[0-9]{3}" required><br>


        <fieldset div class="salary">
            <label>What best describes your current salary?</label>
            <select id="dropdown">
                <option value="above £30K">above £30k</option>
                <option value="less than £30k">less than £30K</option>

        <fieldset div class="current-role">
            <label>What best describes your current role?</label>
            <select id="" dropdown">
                <option value="Student">Student</option>
                <option value="Unemployed">Unemployed</option>
                <option value="Employd Full Time">Employed Full Time</option>
                <option value="Employed Part Time">Employed Part Time</option>

        <fieldset div class="prog-styles">
            <p>Type of programming interested in:</p>
            <label for="functional">Functional<input type="radio" id="functional" name="programming-style"

            <label for="declarative">Declarative<input type="radio" id="declarative" name="programming-style"
                    value="Declarative" </label><br>

                <label for="object-oriented">Object Oriented<input type="radio" id="object-oriented"
                        name="programming-style" value="Object Oriented" </label><br>


        <fieldset div class="languages">
            <p>Programming Languages of Interests:</p>

            <input type="checkbox" id="C++" value="C++" name="C++">
            <label for="C++">C++</label><br>

            <input type="checkbox" id="Fortran" value="Fortran" name="Fortran">
            <label for="Fortran">Fortran</label><br>

            <input type="checkbox" id="Java" value="Java" name="Java">
            <label for="Java">Java</label><br>

            <input type="checkbox" id="Pascal" value="Pascal" name="Pascal">
            <label for="Pascal">Pascal</label><br>

            <input type="checkbox" id="Ruby" value="Ruby" name="Ruby">
            <label for="Ruby">Ruby</label><br>

            <input type="checkbox" id="C#" value="C#" name="C#">
            <label for="C#">C#</label><br>

            <input type="checkbox" id="Python" name="Python" value="Python">
            <label for="Python">Python</label><br>

            <input type="checkbox" id="PHP" name="PHP" value="PHP">
            <label for>PHP</label><br>


        <fieldset div class="more-info">
            <label for="additional-info">Additional Information:</label><br>
            <textarea id="additional-info" name="additional-info" rows="6" cols="50"
                placeholder="Do you have anything else to add?"></textarea>

        <input type="submit" value="Submit">

    </form </body>


Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Survey Form - Build a Survey Form

Link to the challenge:`Preformatted text``Preformatted text`

you can upload the image file to an online site like GitHub Pages (or any free image hosting site) and then link to it once it is up.

Thank you. I have it working

1 Like