add new challenges
This commit is contained in:
committed by
Berkeley Martinez
parent
426ff2175f
commit
6f9fab3043
1522
challenges/01-responsive-web-design/applied-accessibility.json
Normal file
1522
challenges/01-responsive-web-design/applied-accessibility.json
Normal file
File diff suppressed because it is too large
Load Diff
3766
challenges/01-responsive-web-design/applied-visual-design.json
Normal file
3766
challenges/01-responsive-web-design/applied-visual-design.json
Normal file
File diff suppressed because it is too large
Load Diff
3025
challenges/01-responsive-web-design/basic-css.json
Normal file
3025
challenges/01-responsive-web-design/basic-css.json
Normal file
File diff suppressed because it is too large
Load Diff
2322
challenges/01-responsive-web-design/basic-html-and-html5.json
Normal file
2322
challenges/01-responsive-web-design/basic-html-and-html5.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,108 @@
|
||||
{
|
||||
"name": "Claim Your Responsive Web Design Certificate",
|
||||
"order": 13,
|
||||
"time": "5 minutes",
|
||||
"challenges": [
|
||||
{
|
||||
"id": "587d78aa367417b2b2512aee",
|
||||
"title": "Claim Your Responsive Web Design Certificate",
|
||||
"description": [
|
||||
[
|
||||
"//i.imgur.com/k8btNUB.jpg",
|
||||
"An image of our Responsive Web Design Certificate",
|
||||
"This challenge will give you your verified Responsive Web Design Certificate. Before we issue your certificate, we must verify that you have completed all of our basic and intermediate algorithm scripting challenges, and all our basic, intermediate, and advanced front end development projects. You must also accept our Academic Honesty Pledge. Click the button below to start this process.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/uLPsUko.jpg",
|
||||
"The definition of plagiarism: Plagiarism (noun) - copying someone else’s work and presenting it as your own without crediting them",
|
||||
"By clicking below, you pledge that all of your submitted code A) is code you or your pair personally wrote, or B) comes from open source libraries like jQuery, or C) has been clearly attributed to its original authors. You also give us permission to audit your challenge solutions and revoke your certificate if we discover evidence of plagiarism.",
|
||||
"#"
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/UedoV2G.jpg",
|
||||
"An image of the text \"Front End Development Certificate requirements\"",
|
||||
"Let's confirm that you have completed all of our basic and intermediate algorithm scripting challenges, and all our basic, intermediate, and advanced front end development projects. Click the button below to verify this.",
|
||||
"#"
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/Q5Za9U6.jpg",
|
||||
"An image of the word \"Congratulations\"",
|
||||
"Congratulations! We've added your Responsive Web Design Certificate to your portfolio page. Unless you choose to hide your solutions, this certificate will remain publicly visible and verifiable.",
|
||||
""
|
||||
]
|
||||
],
|
||||
"challengeSeed": [
|
||||
{
|
||||
"properties": [
|
||||
"isHonest",
|
||||
"isFrontEndCert"
|
||||
],
|
||||
"apis": [
|
||||
"/certificate/honest",
|
||||
"/certificate/verify/front-end"
|
||||
],
|
||||
"stepIndex": [
|
||||
1,
|
||||
2
|
||||
]
|
||||
}
|
||||
],
|
||||
"tests": [
|
||||
{
|
||||
"id": "587d78af367417b2b2512b03",
|
||||
"title": "Build a Survey Form"
|
||||
},
|
||||
{
|
||||
"id": "bd7158d8c442eddfaeb5bd18",
|
||||
"title": "Build a Tribute Page"
|
||||
},
|
||||
{
|
||||
"id": "587d78af367417b2b2512b04",
|
||||
"title": "Build a Product Landing Page"
|
||||
},
|
||||
{
|
||||
"id": "587d78b0367417b2b2512b05",
|
||||
"title": "Build a Technical Documentation Page"
|
||||
},
|
||||
{
|
||||
"id": "bd7158d8c242eddfaeb5bd13",
|
||||
"title": "Build a Personal Portfolio Webpage"
|
||||
}
|
||||
],
|
||||
"type": "Waypoint",
|
||||
"challengeType": 7,
|
||||
"translations": {
|
||||
"es": {
|
||||
"title": "Reclama tu certificado de Desarrollo de interfaces",
|
||||
"description": [
|
||||
[
|
||||
"//i.imgur.com/k8btNUB.jpg",
|
||||
"Una imagen que muestra nuestro certificado de Desarrollo de interfaces",
|
||||
"Este desafío te otorga tu certificado autenticado de Desarrollo de interfaces. Antes de que podamos emitir tu certificado, debemos verificar que has completado todos los desafíos básicos e intermedios de diseño de algoritmos, y todos los proyectos básicos e intermedios de desarrollo de interfaces. También debes aceptar nuestro Juramento de honestidad académica. Pulsa el botón siguiente para iniciar este proceso.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/HArFfMN.jpg",
|
||||
"Plagio (nombre): acción y efecto de plagiar. Plagiar (verbo) - copiar en lo sustancial obras ajenas, dándolas como propias.",
|
||||
"Al pulsar el botón siguiente, juras que todo el código en tus soluciones a los desafíos A) es código que tú o tu compañero escribieron personalmente, o B) proviene de librerías de código abierto como jQuery, o C) ha sido claramente atribuido a sus autores originales. También nos otorgas el permiso para auditar tus soluciones a los desafíos y revocar tu certificado si encontramos evidencia de plagio.",
|
||||
"#"
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/14F2Van.jpg",
|
||||
"Una imagen del texto \"Front End Development Certificate requirements\"",
|
||||
"Confirmemos que has completado todos nuestros desafíos básicos e intermedios de diseño de algoritmos, y todos nuestros proyectos básicos e intermedios de desarrollo de interfaces. Pulsa el botón siguiente para hacer la verificación.",
|
||||
"#"
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/16SIhHO.jpg",
|
||||
"Una imagen de la palabra \"Congratulations\"",
|
||||
"¡Felicitaciones! Hemos agregado tu certificado de Desarrollo de interfaces a tu portafolio. A menos que elijas no mostrar tus soluciones, este certificado será públicamente visible y verificable.",
|
||||
""
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
1589
challenges/01-responsive-web-design/css-flexbox.json
Normal file
1589
challenges/01-responsive-web-design/css-flexbox.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,346 @@
|
||||
{
|
||||
"name": "Applied Responsive Web Design Projects",
|
||||
"order": 6,
|
||||
"time": "150 hours",
|
||||
"helpRoom": "Help",
|
||||
"challenges": [
|
||||
{
|
||||
"id": "587d78af367417b2b2512b02",
|
||||
"title": "Get Set for our Responsive Web Design Projects",
|
||||
"description": [
|
||||
[
|
||||
"//i.imgur.com/OAD6SJz.png",
|
||||
"An image of a Simon game, one our front end projects.",
|
||||
"Our front end development projects will give you a chance to apply the front end skills you've developed up to this point. We'll use a popular browser-based code editor called CodePen.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/WBetuBa.jpg",
|
||||
"A programmer punching through his laptop screen in frustration.",
|
||||
"These projects are hard. It takes most campers several days to build each project. You will get frustrated. But don't quit. This gets easier with practice.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/p2TpOQd.jpg",
|
||||
"A cute dog jumping over a hurdle and winking and pointing his paw at you.",
|
||||
"When you get stuck, just use the Read-Search-Ask methodology. Don't worry - you've got this.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/G1saeDt.gif",
|
||||
"A gif showing how to create a Codepen account.",
|
||||
"For our front end project challenges, we'll use a popular browser-based code editor called CodePen. Click the \"Open link in new tab\" button below to open CodePen's signup page. Fill out the form and click \"Sign up\". <br><div class=\"small\">Note: If you already have a CodePen account, you can skip this step by clicking \"Open link in new tab\", closing the new tab that opens, then clicking \"go to my next step\". We removed our \"skip step\" button because many people would just click it repeatedly without doing these important steps.</div>",
|
||||
"https://codepen.io/signup/free"
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/U4y9RJ1.gif",
|
||||
"A gif showing that you can type \"hello world\" will output \"hello world\" in the preview window. You can also drag windows to resize them, and change their orientation.",
|
||||
"In the HTML box, create an <code>h1</code> element with the text \"Hello World\". You can drag the frames around to resize them. You can also click the \"Change View\" button and change the orientation of the frames.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/G9KFQDL.gif",
|
||||
"A gif showing the process of adding Bootstrap to your pen.",
|
||||
"Click the gear in the upper left hand corner of the CSS box, then scroll down to \"Quick add\" and choose Bootstrap. Now give your <code>h1</code> element the class of <code>text-primary</code> to change its color and prove that Bootstrap is now available.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/m0pWik2.gif",
|
||||
"A gif showing the process of turning off auto update preview",
|
||||
"When using CodePen and Ajax, it is a good idea to turn off automatic preview updating so API calls are not made too often. Too many API calls can sometimes lead to temporary blockages, and may require waiting periods before they can be used again. <br> <div class=\"small\"> To disable automatic preview updating click the \"Settings\" button at the top of the page, then click the \"Behavior\" tab. At the bottom of the page, un-check \"AUTO UPDATE PREVIEW\". Now press \"Run\" at the top of the page to update the preview, and click \"Save\".</div>",
|
||||
""
|
||||
]
|
||||
],
|
||||
"challengeSeed": [],
|
||||
"tests": [],
|
||||
"type": "Waypoint",
|
||||
"isRequired": false,
|
||||
"challengeType": 7,
|
||||
"translations": {
|
||||
"es": {
|
||||
"title": "Prepárate para los Proyectos de Desarrollo de Interfaces",
|
||||
"description": [
|
||||
[
|
||||
"//i.imgur.com/OAD6SJz.png",
|
||||
"Una imagen del juego Simón, uno de nuestros proyectos de interfaz.",
|
||||
"Nuestros proyectos de desarrollo de interfaces te darán oportunidad de aplicar las habilidades con interfaces que has desarrollado hasta este momento. Usaremos un editor de código basado en el navegador llamado CodePen.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/WBetuBa.jpg",
|
||||
"Un programador frustado golpeando la pantalla de su computador.",
|
||||
"Nuestros desafíos sobre algoritmos son difíciles. Algunos pueden requerir muchas horas para resolverse. Podrás frustarte, pero no te rindas. Se vuelve fácil con práctica.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/p2TpOQd.jpg",
|
||||
"Un tierno perro que salta sobre un obstáculo, pica el ojo y te apunta con su pata.",
|
||||
"Cuando te atasques, usa la metodología Leer-Buscar-Preguntar. No te preocupes - lo tienes resuelto.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/G1saeDt.gif",
|
||||
"Un gif que muestra cómo crear una cuenta en Codepen.",
|
||||
"Para nuestros desafíos de interfaces, usaremos un editor de código basado en el navegador que es muy famoso llamado Codepen. Pulsa en el botón de abajo \"Open link in new tab\" para abrir la página de registro de CodePen. Rellena el formulario y pulsa \"Sign up\". <br><div class=\"small\">Nota: Si ya tienes una cuenta de CodePen, puedes omitir este paso pulsando \"Open link in new tab\", cierra la nueva pestaña que se abre, entonces pulsa \"go to my next step\". Eliminamos nuestro botón \"skip step\" porque mucha gente solamente pulsa el botón sin realizar estos importantes pasos.</div>",
|
||||
"https://codepen.io/signup/free"
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/U4y9RJ1.gif",
|
||||
"Un gif que muestra que puedes escribir \"hello world\" en el editor, lo cual escribirá \"hello world\" en la ventana de vista previa. También puedes mover las ventanas para cambiar su tamaño, y cambiar su orientación.",
|
||||
"En la ventana de HTML, crea un elemento h1 con el texto \"Hola mundo\". Puedes arrastrar los bordes de las ventanas para cambiar su tamaño. También puedes pulsar el botón de \"Change View\" para cambiar la orientación de las ventanas.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/G9KFQDL.gif",
|
||||
"Un gif que muestra el proceso de agregar Bootstrap a tu proyecto.",
|
||||
"Pulsa el engrane en la esquina superior izquierda de la ventana de CSS, luego ve hacia abajo hasta donde dice \"Quick add\" y elige Bootstrap. Ahora dale a tu elemento h1 la clase \"text-primary\" para cambiar su color y verificar que Bootstrap está activado.",
|
||||
""
|
||||
]
|
||||
]
|
||||
},
|
||||
"pt-br": {
|
||||
"title": "Prepare-se para nossos Projetos de Desenvolvimento Front End",
|
||||
"description": [
|
||||
[
|
||||
"//i.imgur.com/OAD6SJz.png",
|
||||
"A imagem de um jogo Simon, um de nossos projetos front end.",
|
||||
"Nossos projetos de Desenvolvimento front end vão dar a você a chance de aplicar as habilidades front end que você desenvolveu até esse ponto. Nós vamos usar um editor popular chamado CodePen que funciona direto no navegador.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/WBetuBa.jpg",
|
||||
"Um programador atravessando a tela de seu laptop com um soco em frustração.",
|
||||
"Esses projetos são difíceis. A maioria dos campistas leva alguns dias para contruir cada projeto. Você vai ficar frustrado. Mas não desista. Isso fica mais fácil com a prática.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/p2TpOQd.jpg",
|
||||
"Um cachorro fofo pulando sobre um obstáculo, piscando e apontando sua pata a você.",
|
||||
"Quando ficar travado, use a metodologia Ler-Buscar-Perguntar. Não se preocupe - você consegue.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/G1saeDt.gif",
|
||||
"Um gif mostrando com criar uma conta CodePen.",
|
||||
"Para nossos projetos front end, usaremos um popular editor de código baseado em navegador chamado CodePen. Clique no botão \"Open link in new tab\" abaixo para abrir a página de resgistro do CodePen. Preencha o formulário e clique em \"Sign up\". <br><div class=\"small\">Nota: Se você já tem uma conta CodePen, você pode pular esse passo clicando em \"Open link in new tab\", fechando a nova aba que abrir, e clicando em \"go to my next step\". Nós removemos nosso botão \"skip step\" pois muitas pessoas iam simplesmente clicar nele repetidamente sem passar por esses passos importantes.</div>",
|
||||
"https://codepen.io/signup/free"
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/U4y9RJ1.gif",
|
||||
"Um gif mostrando que você pode digitar \"hello world\" e será mostrado \"hello world\" na janela de visualização. Você também pode arrastar janelas para redimensioná-las e mudar a orientação das mesmas.",
|
||||
"Na caixa do HTML, crie um elemento <code>h1</code> com o texto \"Hello World\". Você pode arrastar as bordas para redimensioná-las. Você pode também clicar no botão \"Change View\" e mudar a orientação das janelas.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/G9KFQDL.gif",
|
||||
"Um gif mostrando como adicionar o Bootstrap à sua pen.",
|
||||
"Clique na engrenagem no canto superior esquerdo da caixa do CSS, então role para baixo até \"Quick add\" e escolha Bootstrap. Agora adicione ao seu elemento <code>h1</code> a classe <code>text-primary</code> para mudar sua cor e provar que o Bootstrap agora está disponível.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/m0pWik2.gif",
|
||||
"Um gif mostrando o processo de desativar o update automático da janela de visualização",
|
||||
"Ao usar CodePen e Ajax, é uma boa idea desativar o update automático da janela de visualização para que as chamadas para as APIs não sejam feitas a todo momento. Muitas chamadas para API pode levar à bloqueios temporários e podem requerer períodos de esperar para que possam ser usadas novamente. <br> <div class=\"small\"> Para desativar o update automático da janela de visualização clique no botão \"Settings\" no topo da página, então clique na aba \"Behavior\". No final da página, desmarque \"AUTO UPDATE PREVIEW\". Agora clique em \"Run\" no topo da página para atualizar a janela de visualização e clique \"Save\".</div>",
|
||||
""
|
||||
]
|
||||
]
|
||||
},
|
||||
"ru": {
|
||||
"title": "Приготовьтесь к разработке фронтенд проектов",
|
||||
"description": [
|
||||
[
|
||||
"//i.imgur.com/OAD6SJz.png",
|
||||
"Игра Саймона - один из фронтенд проектов.",
|
||||
"Наши фронтенд проекты дадут вам шанс применить полученные к этому моменту знания по фронтенд разработке. Мы будем использовать популярный браузерный редактор кода - CodePen.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/WBetuBa.jpg",
|
||||
"Программист от отчаяния кулаком пробивает экран своего ноутбука.",
|
||||
"Это трудные проекты. Разработка каждого занимает у большинства кэмперов несколько дней. У вас может возникнуть чувство отчаяния. Несмотря на это не сдавайтесь. С практикой этот процесс станет проще.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/p2TpOQd.jpg",
|
||||
"Милый пес, прыгающий через препятствие, указывает на вас лапой и подмигивает.",
|
||||
"Если что-то не получается, воспользуйтесь Read-Search-Ask. Не волнуйтесь - вы сможете это сделать.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/G1saeDt.gif",
|
||||
"Гифка показывающая как зарегистрироваться на CodePen.",
|
||||
"Для заданий по фронтенд разработке, мы будем использовать популярный браузерный редактор кода под названием CodePen. Откройте страницу регистрации на сайте CodePen, нажав на расположенную чуть ниже кнопку \"Open link in new tab\". Заполните форму и нажмите \"Sign up\". <br><div class=\"small\">Замечание: Если у вас уже есть аккаунт CodePen, то этот шаг можно пропустить: нажмите на кнопку \"Open link in new tab\", закройте появившуюся вкладку и затем кликните \"go to my next step\". Мы убрали кнопку \"skip step\", ввиду того что большинство людей просто нажимали бы ее несколько раз подряд и пропускали бы эти важные инструкции.</div>",
|
||||
"https://codepen.io/signup/free"
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/U4y9RJ1.gif",
|
||||
"Гифка показывающая набор в редакторе заголовка с текстом \"hello world\", который затем отображается в окошке предпросмотра. А также указывающая как изменить размер окон редактора или поменять их расположение.",
|
||||
"В окошке HTML создайте элемент h1 с текстом \"Hello World\". Ухватив края окон можно изменить их размер. А нажав на кнопку \"Change View\" поменять их расположение.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"//i.imgur.com/G9KFQDL.gif",
|
||||
"Гифка показывающая как в CodePen добавить к проекту Bootstrap.",
|
||||
"Нажмите на звездочку в левом верхнем углу окошка CSS, найдите внизу поле \"Quick add\" и выберите в нем Bootstrap. Добавьте к элементу h1 класс \"text-primary\", чтобы изменить его цвет и удостовериться, что Bootstrap подключен.",
|
||||
""
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "bd7158d8c442eddfaeb5bd18",
|
||||
"title": "Build a Tribute Page",
|
||||
"description": [
|
||||
"Fulfill the user stories by getting all of the tests to pass. Use whichever libraries you need. Give it your own personal style.",
|
||||
"Here's a <a href='http://codepen.io/freeCodeCamp/full/zNqgVx' target='_blank'>working example</a>. Try not to look at its code.",
|
||||
"You can build your project by forking <a href='http://codepen.io/FCC_test_suites/pen/JbgXab' target='_blank'>this CodePen pen</a>. Or you can use this CDN link to run the tests in any environment you like: <code>https://gitcdn.link/repo/no-stack-dub-sack/testable-projects-fcc/master/build/bundle.js</code>",
|
||||
"Once you're done, submit below the URL to your working project with all its tests passing.",
|
||||
"Remember to use the <a href='https://forum.freecodecamp.com/t/how-to-get-help-when-you-are-stuck/19514' target='_blank'>Read-Search-Ask method if you get stuck."
|
||||
],
|
||||
"releasedOn": "January 1, 2016",
|
||||
"challengeSeed": [
|
||||
"Nk0DzQi"
|
||||
],
|
||||
"tests": [],
|
||||
"type": "zipline",
|
||||
"isRequired": true,
|
||||
"challengeType": 3,
|
||||
"translations": {
|
||||
"es": {
|
||||
"title": "Construye una página Tributo",
|
||||
"description": []
|
||||
},
|
||||
"pt-br": {
|
||||
"title": "Construa uma Página Tributo",
|
||||
"description": []
|
||||
},
|
||||
"ru": {
|
||||
"title": "Создайте страницу посвященную тому что вас вдохновляет",
|
||||
"description": []
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "587d78af367417b2b2512b03",
|
||||
"title": "Build a Survey Form",
|
||||
"description": [
|
||||
"Fulfill the user stories by getting all of the tests to pass. Use whichever libraries you need. Give it your own personal style.",
|
||||
"Here's a <a href='http://codepen.io/freeCodeCamp/full/VPaoNP' target='_blank'>working example</a>. Try not to look at its code.",
|
||||
"You can build your project by forking <a href='http://codepen.io/FCC_test_suites/pen/JbgXab' target='_blank'>this CodePen pen</a>. Or you can use this CDN link to run the tests in any environment you like: <code>https://gitcdn.link/repo/no-stack-dub-sack/testable-projects-fcc/master/build/bundle.js</code>",
|
||||
"Once you're done, submit below the URL to your working project with all its tests passing.",
|
||||
"Remember to use the <a href='https://forum.freecodecamp.com/t/how-to-get-help-when-you-are-stuck/19514' target='_blank'>Read-Search-Ask method if you get stuck."
|
||||
],
|
||||
"releasedOn": "January 15, 2017",
|
||||
"challengeSeed": [
|
||||
"A7Pn5zw"
|
||||
],
|
||||
"tests": [],
|
||||
"type": "zipline",
|
||||
"isRequired": true,
|
||||
"challengeType": 3,
|
||||
"translations": {
|
||||
"es": {
|
||||
"title": "",
|
||||
"description": []
|
||||
},
|
||||
"ru": {
|
||||
"title": "",
|
||||
"description": []
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "587d78af367417b2b2512b04",
|
||||
"title": "Build a Product Landing Page",
|
||||
"description": [
|
||||
"Fulfill the user stories by getting all of the tests to pass. Use whichever libraries you need. Give it your own personal style.",
|
||||
"Here's a <a href='http://codepen.io/freeCodeCamp/pen/RKRbwL' target='_blank'>working example</a>. Try not to look at its code.",
|
||||
"You can build your project by forking <a href='http://codepen.io/FCC_test_suites/pen/JbgXab' target='_blank'>this CodePen pen</a>. Or you can use this CDN link to run the tests in any environment you like: <code>https://gitcdn.link/repo/no-stack-dub-sack/testable-projects-fcc/master/build/bundle.js</code>",
|
||||
"Once you're done, submit below the URL to your working project with all its tests passing.",
|
||||
"Remember to use the <a href='https://forum.freecodecamp.com/t/how-to-get-help-when-you-are-stuck/19514' target='_blank'>Read-Search-Ask method if you get stuck."
|
||||
],
|
||||
"releasedOn": "January 15, 2017",
|
||||
"challengeSeed": [
|
||||
"ExCJjAT"
|
||||
],
|
||||
"tests": [],
|
||||
"type": "zipline",
|
||||
"isRequired": true,
|
||||
"challengeType": 3,
|
||||
"translations": {
|
||||
"es": {
|
||||
"title": "",
|
||||
"description": []
|
||||
},
|
||||
"ru": {
|
||||
"title": "",
|
||||
"description": []
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "587d78b0367417b2b2512b05",
|
||||
"title": "Build a Technical Documentation Page",
|
||||
"description": [
|
||||
"Fulfill the user stories by getting all of the tests to pass. Use whichever libraries you need. Give it your own personal style.",
|
||||
"Here's a <a href='http://codepen.io/freeCodeCamp/full/NdrKKL' target='_blank'>working example</a>. Try not to look at its code.",
|
||||
"You can build your project by forking <a href='http://codepen.io/FCC_test_suites/pen/JbgXab' target='_blank'>this CodePen pen</a>. Or you can use this CDN link to run the tests in any environment you like: <code>https://gitcdn.link/repo/no-stack-dub-sack/testable-projects-fcc/master/build/bundle.js</code>",
|
||||
"Once you're done, submit below the URL to your working project with all its tests passing.",
|
||||
"Remember to use the <a href='https://forum.freecodecamp.com/t/how-to-get-help-when-you-are-stuck/19514' target='_blank'>Read-Search-Ask method if you get stuck."
|
||||
],
|
||||
"releasedOn": "January 15, 2017",
|
||||
"challengeSeed": [
|
||||
"cDIfODs"
|
||||
],
|
||||
"tests": [],
|
||||
"type": "zipline",
|
||||
"isRequired": true,
|
||||
"challengeType": 3,
|
||||
"translations": {
|
||||
"es": {
|
||||
"title": "",
|
||||
"description": []
|
||||
},
|
||||
"ru": {
|
||||
"title": "",
|
||||
"description": []
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "587d78b0367417b2b2512b06",
|
||||
"title": "Build a Personal Portfolio Webpage",
|
||||
"description": [
|
||||
"Fulfill the user stories by getting all of the tests to pass. Use whichever libraries you need. Give it your own personal style.",
|
||||
"Here's a <a href='http://codepen.io/freeCodeCamp/full/zNBOYG' target='_blank'>working example</a>. Try not to look at its code.",
|
||||
"You can build your project by forking <a href='http://codepen.io/FCC_test_suites/pen/JbgXab' target='_blank'>this CodePen pen</a>. Or you can use this CDN link to run the tests in any environment you like: <code>https://gitcdn.link/repo/no-stack-dub-sack/testable-projects-fcc/master/build/bundle.js</code>",
|
||||
"Once you're done, submit below the URL to your working project with all its tests passing.",
|
||||
"Remember to use the <a href='https://forum.freecodecamp.com/t/how-to-get-help-when-you-are-stuck/19514' target='_blank'>Read-Search-Ask method if you get stuck."
|
||||
],
|
||||
"challengeSeed": [
|
||||
"Uw6sYKY"
|
||||
],
|
||||
"tests": [],
|
||||
"type": "zipline",
|
||||
"isRequired": true,
|
||||
"challengeType": 3,
|
||||
"translations": {
|
||||
"es": {
|
||||
"title": "Construye una página web para tu portafolio",
|
||||
"description": []
|
||||
},
|
||||
"pt-br": {
|
||||
"title": "Construa uma Página de Portfólio Pessoal",
|
||||
"description": [
|
||||
]
|
||||
},
|
||||
"ru": {
|
||||
"title": "Создайте сайт-портфолио",
|
||||
"description": [
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
243
challenges/01-responsive-web-design/responsive-web-design.json
Normal file
243
challenges/01-responsive-web-design/responsive-web-design.json
Normal file
@ -0,0 +1,243 @@
|
||||
{
|
||||
"name": "Responsive Web Design",
|
||||
"order": 4,
|
||||
"time": "5 hours",
|
||||
"helpRoom": "Help",
|
||||
"challenges": [
|
||||
{
|
||||
"id": "587d78b0367417b2b2512b07",
|
||||
"title": "Introduction to the Responsive Web Design Challenges",
|
||||
"description": [
|
||||
[
|
||||
"",
|
||||
"",
|
||||
"Today, there are many types of devices that can access the web. They range from large desktop computers to small mobile phones. These devices have different screen sizes, resolutions, and processing power.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"",
|
||||
"",
|
||||
"Responsive Web Design is an approach to designing web content that responds to the constraints of different devices. The page structure and CSS rules should be flexible to accommodate these differences.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"",
|
||||
"",
|
||||
"In general, design the page's CSS to your target audience. If you expect most of your traffic to be from mobile users, take a 'mobile-first' approach. Then add conditional rules for larger screen sizes. If your visitors are desktop users, then design for larger screens with conditional rules for smaller sizes.",
|
||||
""
|
||||
],
|
||||
[
|
||||
"",
|
||||
"",
|
||||
"CSS gives you the tools to write different style rules, then apply them depending on the device displaying the page. This section will cover the basic ways to use CSS for Responsive Web Design.",
|
||||
""
|
||||
]
|
||||
],
|
||||
"releasedOn": "",
|
||||
"challengeSeed": [],
|
||||
"tests": [],
|
||||
"type": "Waypoint",
|
||||
"challengeType": 7,
|
||||
"isRequired": false,
|
||||
"titleEs": "",
|
||||
"descriptionEs": [
|
||||
[]
|
||||
],
|
||||
"titleFr": "",
|
||||
"descriptionFr": [
|
||||
[]
|
||||
],
|
||||
"titleDe": "",
|
||||
"descriptionDe": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "587d78b0367417b2b2512b08",
|
||||
"title": "Create a Media Query",
|
||||
"description": [
|
||||
"Media Queries are a new technique introduced in CSS3 that change the presentation of content based on different viewport sizes. The viewport is a user's visible area of a web page, and is different depending on the device used to access the site.",
|
||||
"Media Queries consist of a media type, and if that media type matches the type of device the document is displayed on, the styles are applied. You can have as many selectors and styles inside your media query as you want.",
|
||||
"Here's an example of a media query that returns the content when the device's width is smaller than 100px:",
|
||||
"<code>@media (max-width: 100px) { /* CSS Rules */ }</code>",
|
||||
"Remember, the CSS inside the media query is applied only if the media type matches that of the device being used.",
|
||||
"<h4>Instructions</h4>",
|
||||
"Add a media query, so that the <code>p</code> tag has a <code>font-size</code> of 10px when the device's height is smaller than 800px."
|
||||
],
|
||||
"challengeSeed": [
|
||||
"<style>",
|
||||
" ",
|
||||
"</style>",
|
||||
"",
|
||||
"<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus quis tempus massa. Aenean erat nisl, gravida vel vestibulum cursus, interdum sit amet lectus. Sed sit amet quam nibh. Suspendisse quis tincidunt nulla. In hac habitasse platea dictumst. Ut sit amet pretium nisl. Vivamus vel mi sem. Aenean sit amet consectetur sem. Suspendisse pretium, purus et gravida consequat, nunc ligula ultricies diam, at aliquet velit libero a dui.</p>"
|
||||
],
|
||||
"tests": [
|
||||
"assert($('p').css('font-size') == '10px', 'message: Your <code>p</code> tag should have the <code>font-size</code> of 10px when the device <code>height</code> is smaller than 800px.');",
|
||||
"assert(code.match(/@media \\(max-height:\\s*?800px\\)/g), 'message: Declare an <code>@media</code> query for devices with <code>height</code> less than 800px.');"
|
||||
],
|
||||
"type": "waypoint",
|
||||
"solution": [],
|
||||
"hints": [],
|
||||
"challengeType": 0,
|
||||
"translations": {
|
||||
"de": {
|
||||
"description": [],
|
||||
"title": ""
|
||||
},
|
||||
"fr": {
|
||||
"description": [],
|
||||
"title": ""
|
||||
},
|
||||
"pt-br": {
|
||||
"description": [],
|
||||
"title": ""
|
||||
},
|
||||
"ru": {
|
||||
"description": [],
|
||||
"title": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "587d78b1367417b2b2512b09",
|
||||
"title": "Make an Image Responsive",
|
||||
"description": [
|
||||
"Making images responsive with CSS is actually very simple. Instead of applying an absolute width to an element:",
|
||||
"<code>img { width: 720px; }</code>",
|
||||
"You can use:",
|
||||
"<blockquote>img {<br> max-width: 100%;<br> display: block;<br> height: auto;<br>}</blockquote>",
|
||||
"The <code>max-width</code> property of 100% scales the image to fit the width of its container, but the image won't stretch wider than its original width. Setting the <code>display</code> property to block changes the image from an inline element (its default), to a block element on its own line. The <code>height</code> property of auto keeps the original aspect ratio of the image.",
|
||||
"<h4>Instructions</h4>",
|
||||
"Add style rules for the <code>img</code> tag to make it responsive to the size of its container. It should display as a block-level element, it should fit the full width of its container without stretching, and it should keep its original aspect ratio."
|
||||
],
|
||||
"challengeSeed": [
|
||||
"<style>",
|
||||
" ",
|
||||
"</style>",
|
||||
"",
|
||||
"<img src=\"https://s3.amazonaws.com/freecodecamp/FCCStickerPack.jpg\" alt=\"Free Code Camp stickers set\">"
|
||||
],
|
||||
"tests": [
|
||||
"assert(code.match(/max-width:\\s*?100%;/g), 'message: Your <code>img</code> tag should have a <code>max-width</code> set to 100%.');",
|
||||
"assert($('img').css('display') == 'block', 'message: Your <code>img</code> tag should have a <code>display</code> set to block.');",
|
||||
"assert(code.match(/height:\\s*?auto;/g), 'message: Your <code>img</code> tag should have a <code>height</code> set to auto.');"
|
||||
],
|
||||
"type": "waypoint",
|
||||
"challengeType": 0,
|
||||
"solutions": [],
|
||||
"hints": [],
|
||||
"translations": {
|
||||
"de": {
|
||||
"description": [],
|
||||
"title": ""
|
||||
},
|
||||
"fr": {
|
||||
"description": [],
|
||||
"title": ""
|
||||
},
|
||||
"pt-br": {
|
||||
"description": [],
|
||||
"title": ""
|
||||
},
|
||||
"ru": {
|
||||
"description": [],
|
||||
"title": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "587d78b1367417b2b2512b0a",
|
||||
"title": "Use a Retina Image for Higher Resolution Displays",
|
||||
"description": [
|
||||
"The simplest way to make your images appear \"retina\" (and optimize them for retina displays) is to define their <code>width</code> and <code>height</code> values as only half of what the original file is.",
|
||||
"Here is an example of an image that is only using half of the original height and width:",
|
||||
"<blockquote><style><br> img { height: 250px; width: 250px; }<br></style><br><img src="coolPic500x500" alt="A most excellent picture"></blockquote>",
|
||||
"<h4>Instructions</h4>",
|
||||
"Set the <code>width</code> and <code>height</code> of the <code>img</code> tag to half of their original values. In this case, both the original <code>height</code> and the original <code>width</code> are 200px."
|
||||
],
|
||||
"challengeSeed": [
|
||||
"<style>",
|
||||
" ",
|
||||
"</style>",
|
||||
"",
|
||||
"<img src=\"https://s3.amazonaws.com/freecodecamp/FCCStickers-CamperBot200x200.jpg\" alt=\"Free Code Camp sticker that says 'Because CamperBot Cares'\">"
|
||||
],
|
||||
"tests": [
|
||||
"assert($('img').css('width') == '100px', 'message: Your <code>img</code> tag should have a <code>width</code> of 100 pixels.');",
|
||||
"assert($('img').css('height') == '100px', 'message: Your <code>img</code> tag should have a <code>height</code> of 100 pixels.');"
|
||||
],
|
||||
"type": "waypoint",
|
||||
"challengeType": 0,
|
||||
"solutions": [],
|
||||
"hints": [],
|
||||
"translations": {
|
||||
"de": {
|
||||
"description": [],
|
||||
"title": ""
|
||||
},
|
||||
"fr": {
|
||||
"description": [],
|
||||
"title": ""
|
||||
},
|
||||
"pt-br": {
|
||||
"description": [],
|
||||
"title": ""
|
||||
},
|
||||
"ru": {
|
||||
"description": [],
|
||||
"title": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "587d78b1367417b2b2512b0c",
|
||||
"title": "Make Typography Responsive",
|
||||
"description": [
|
||||
"Instead of using <code>em</code> or <code>px</code> to size text, you can use viewport units for responsive typography. Viewport units, like percentages, are relative units, but they are based off different items. Viewport units are relative to the viewport dimensions (width or height) of a device, and percentages are relative to the size of the parent container element.",
|
||||
"The four different viewport units are:",
|
||||
"<ul>",
|
||||
"<li><code>vw: 10vw</code> would be 10% of the viewport's width.</li>",
|
||||
"<li><code>vh: 3vh</code> would be 3% of the viewport's height.</li>",
|
||||
"<li><code>vmin: 70vmin</code> would be 70% of the viewport's smaller dimension (height vs. width).</li>",
|
||||
"<li><code>vmax: 100vmax</code> would be 100% of the viewport's bigger dimension (height vs. width).</li>",
|
||||
"</ul>",
|
||||
"<h4>Instructions</h4>",
|
||||
"Set the <code>width</code> of the <code>h2</code> tag to 80% of the viewport's width and the <code>width</code> of the paragraph as 75% of the viewport's smaller dimension."
|
||||
],
|
||||
"challengeSeed": [
|
||||
"<style>",
|
||||
" ",
|
||||
"</style>",
|
||||
"",
|
||||
"<h2>Importantus Ipsum</h2>",
|
||||
"<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus quis tempus massa. Aenean erat nisl, gravida vel vestibulum cursus, interdum sit amet lectus. Sed sit amet quam nibh. Suspendisse quis tincidunt nulla. In hac habitasse platea dictumst. Ut sit amet pretium nisl. Vivamus vel mi sem. Aenean sit amet consectetur sem. Suspendisse pretium, purus et gravida consequat, nunc ligula ultricies diam, at aliquet velit libero a dui.</p>"
|
||||
],
|
||||
"tests": [
|
||||
"assert(code.match(/h2\\s*?{\\s*?width:\\s*?80vw;\\s*?}/g), 'message: Your <code>h2</code> tag should have a <code>width</code> of 80vw.');",
|
||||
"assert(code.match(/p\\s*?{\\s*?width:\\s*?75vmin;\\s*?}/g), 'message: Your <code>p</code> tag should have a <code>width</code> of 75vmin.');"
|
||||
],
|
||||
"type": "waypoint",
|
||||
"solutions": [],
|
||||
"hints": [],
|
||||
"challengeType": 0,
|
||||
"translations": {
|
||||
"de": {
|
||||
"description": [],
|
||||
"title": ""
|
||||
},
|
||||
"fr": {
|
||||
"description": [],
|
||||
"title": ""
|
||||
},
|
||||
"pt-br": {
|
||||
"description": [],
|
||||
"title": ""
|
||||
},
|
||||
"ru": {
|
||||
"description": [],
|
||||
"title": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user