Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glasgow Melese Week 1 Lesson 1 My-CodePen-Website #1

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Welcome to my CodePen website
Welcome to my CodePen website : https://codepen.io/Melepen/pen/WNMVmjd
21 changes: 21 additions & 0 deletions pen-export-WNMVmjd/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2022 Melese (https://codepen.io/Melepen/pen/WNMVmjd)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
4 changes: 4 additions & 0 deletions pen-export-WNMVmjd/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#

A Pen created on CodePen.io. Original URL: [https://codepen.io/Melepen/pen/WNMVmjd](https://codepen.io/Melepen/pen/WNMVmjd).

90 changes: 90 additions & 0 deletions pen-export-WNMVmjd/dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>CodePen - A Pen by Melese</title>
<link rel="stylesheet" href="./style.css">

</head>
<body>
<!-- partial:index.partial.html -->
<!--

Hello Camper!

Please read the README below in the JS Editor before beginning. Feel free to delete this message once you have read it. Good luck and Happy Coding!

- The freeCodeCamp Team

-->
<body><link rel="stylesheet" href="styles.css">
<h1 id="title">freeCodeCamp Survey Form</h1>
<p id="description">Thank you for taking the time to help us improve the platform</p>
<form id="survey-form"><div class="container">
<label id="name-label">Name<br></label>

<input type="text" id="name" placeholder="Enter your name" required><br><label>Gender</label><br><input type="text" id="sex" placeholder="Enter your sex" required><br>

<label id="email-label">Email<br></label>
<input type="email" id="email" placeholder="Enter your email" required><br>
<label id="number-label" >Age (optional)<br></label>
<input id="number" type="number" placeholder="Enter your age" min="10" max="99"><br>
<label>Which option best describes your current role?<br></label>

<select id="dropdown">
<option>Select current role</option>
<option>Student</option>
<option>Full Time Job</option>
<option>Full Time Learner</option>
<option>Prefer not to say</option>
<option>Other</option>

</select>
<br>
<label>Would you recommend freecodecamp to a friend?

</label>
<br>
<input type="radio" value= "Definitely" name="recommend"><label>Definitely</
label><br>
<input type="radio" value="Maybe" name="recommend"><label>Maybe</label>
<label><br>
<input type="radio" value="Not sure" name="recommend" ><label>Not sure</label>

<br><label>What is your favorite feature of freeCodeCamp?</label> <br><select id="dropdown">
<option>Select an option</option>
<option>Challenges</option>
<option>Projects</option>
<option>Community</option>
<option>open source</option>


</select>
<br><label>What would you like to see improved? (check all that apply)<br></label>

<input type="checkbox" value="front end projects"><label>Front end projects</label><br>
<input type="checkbox" value="back end projects"><label>Back end projects</label><br>
<input type="checkbox"value="data Visualization"><label>Data Visualization</label><br>
<input type="checkbox"value="challenges"><label>Challenges</label><br>
<input type="checkbox"value="open source community"><label>open source community</label><br>
<input type="checkbox"value="citizen help room"><label>Citizen help room</label><br>
<input type="checkbox" value="videos"><label>videos</label><br>
<input type="checkbox" Value="City Meet Ups"><label>City Meet ups</label><br>
<input type="checkbox" value="wiki"><label>Wiki</label><br>
<input type="checkbox" value="forum"><label>Forum</label>
<br>

<input type="checkbox" value="additional Courses"><label>Additional Courses</label>
<br>
<label>Any comment or suggestions?<br></label>


<textarea type="text" placeholder="Insert your comment" id="comment"></textarea><br><br>
<input id="submit" type="submit" value="Submit"></div>

</form></body>
<!-- partial -->
<script src='https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js'></script><script src="./script.js"></script>

</body>
</html>
27 changes: 27 additions & 0 deletions pen-export-WNMVmjd/dist/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place.

/***********
INSTRUCTIONS:
- Select the project you would
like to complete from the dropdown
menu.
- Click the "RUN TESTS" button to
run the tests against the blank
pen.
- Click the "TESTS" button to see
the individual test cases.
(should all be failing at first)
- Start coding! As you fulfill each
test case, you will see them go
from red to green.
- As you start to build out your
project, when tests are failing,
you should get helpful errors
along the way!
************/

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments.
107 changes: 107 additions & 0 deletions pen-export-WNMVmjd/dist/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
#title{
font-weight: bold;
color: white;

}
#description{
font-style: italic;
color: white;

}
#survey-form{
color: white;

}

#email{
background-color: white;
color: white;
padding: 16px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
opacity: 0.9;
font-weight: bold;
}
#name{
background-color: white;
color: white;
padding: 16px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
opacity: 0.9;
font-weight: bold;
}
#sex{
background-color: white;
color: white;
padding: 16px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
opacity: 0.9;
font-weight: bold;
}


#number-label{
color: black;
}
#number{
background-color: white;
color: white;
padding: 16px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
opacity: 0.9;
font-weight: bold;
}
#dropdown{
background-color: white;
color: white;
padding: 16px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
opacity: 0.9;
font-weight: bold;
}
#submit{
background-color: #04AA6D;
color: white;
padding: 16px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
opacity: 0.9;
font-weight: bold;
}
body {
font-family: Arial, Helvetica, sans-serif;
background-color: #074c67;
}
#comment{
background-color: white;
color: white;
padding: 16px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
height:150px;
opacity: 0.9;
font-weight: bold;
}
.container {

width: 60%;
margin: 30px auto 30px;
}
75 changes: 75 additions & 0 deletions pen-export-WNMVmjd/src/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<!--

Hello Camper!

Please read the README below in the JS Editor before beginning. Feel free to delete this message once you have read it. Good luck and Happy Coding!

- The freeCodeCamp Team

-->
<body><link rel="stylesheet" href="styles.css">
<h1 id="title">freeCodeCamp Survey Form</h1>
<p id="description">Thank you for taking the time to help us improve the platform</p>
<form id="survey-form"><div class="container">
<label id="name-label">Name<br></label>

<input type="text" id="name" placeholder="Enter your name" required><br><label>Gender</label><br><input type="text" id="sex" placeholder="Enter your sex" required><br>

<label id="email-label">Email<br></label>
<input type="email" id="email" placeholder="Enter your email" required><br>
<label id="number-label" >Age (optional)<br></label>
<input id="number" type="number" placeholder="Enter your age" min="10" max="99"><br>
<label>Which option best describes your current role?<br></label>

<select id="dropdown">
<option>Select current role</option>
<option>Student</option>
<option>Full Time Job</option>
<option>Full Time Learner</option>
<option>Prefer not to say</option>
<option>Other</option>

</select>
<br>
<label>Would you recommend freecodecamp to a friend?

</label>
<br>
<input type="radio" value= "Definitely" name="recommend"><label>Definitely</
label><br>
<input type="radio" value="Maybe" name="recommend"><label>Maybe</label>
<label><br>
<input type="radio" value="Not sure" name="recommend" ><label>Not sure</label>

<br><label>What is your favorite feature of freeCodeCamp?</label> <br><select id="dropdown">
<option>Select an option</option>
<option>Challenges</option>
<option>Projects</option>
<option>Community</option>
<option>open source</option>


</select>
<br><label>What would you like to see improved? (check all that apply)<br></label>

<input type="checkbox" value="front end projects"><label>Front end projects</label><br>
<input type="checkbox" value="back end projects"><label>Back end projects</label><br>
<input type="checkbox"value="data Visualization"><label>Data Visualization</label><br>
<input type="checkbox"value="challenges"><label>Challenges</label><br>
<input type="checkbox"value="open source community"><label>open source community</label><br>
<input type="checkbox"value="citizen help room"><label>Citizen help room</label><br>
<input type="checkbox" value="videos"><label>videos</label><br>
<input type="checkbox" Value="City Meet Ups"><label>City Meet ups</label><br>
<input type="checkbox" value="wiki"><label>Wiki</label><br>
<input type="checkbox" value="forum"><label>Forum</label>
<br>

<input type="checkbox" value="additional Courses"><label>Additional Courses</label>
<br>
<label>Any comment or suggestions?<br></label>


<textarea type="text" placeholder="Insert your comment" id="comment"></textarea><br><br>
<input id="submit" type="submit" value="Submit"></div>

</form></body>
27 changes: 27 additions & 0 deletions pen-export-WNMVmjd/src/script.babel
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place.

/***********
INSTRUCTIONS:
- Select the project you would
like to complete from the dropdown
menu.
- Click the "RUN TESTS" button to
run the tests against the blank
pen.
- Click the "TESTS" button to see
the individual test cases.
(should all be failing at first)
- Start coding! As you fulfill each
test case, you will see them go
from red to green.
- As you start to build out your
project, when tests are failing,
you should get helpful errors
along the way!
************/

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments.
Loading