SantiagoUlloa / React-spring-boot-lab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

<<<<<<< HEAD

Title Type Duration Author
Responsive Site Mockup HW 1:00 Rachel Moskwoitz (adapted from NYC_SEI)

Responsive Mockup Lab

Exercise

You are being given a completed static website. However, it is not responsive! Your task is to take the site and make it responsive. Follow the directions at the bottom of /css/main.css.

Mockups

Here's a full-size mockup of what the site looks like: mockup.

Here's what the small or mobile version of the site should look like: mockup.

Good luck!


title: Methods type: Lab duration: "1:30" creator: name: James Davis city: NYC

Methods Lab

Introduction

Instructor Note: This can be a pair programming activity or done independently.

This lab provides an opportunity to practice creating methods.

Exercise

Requirements

Write code that implements various methods, following the requirements listed below:

  • Define a method, maxOfTwoNumbers(), that takes two numbers as arguments and returns the largest of them. I would suggest using conditional statements. Do a Google search to figure this out if you forgot how conditionals work.

  • Define a method, maxOfThree(), that takes three numbers as arguments and returns the largest of them.

  • Write a method, isCharacterAVowel(), that takes a character (i.e., a string of length 1) and returns true if it's a vowel and false otherwise.

  • Write a method that returns the number of arguments passed to it when called.

  • Define a method, reverseString(), that computes the reversal of a string. For example, reverseString("jag testar") should return the string "ratset gaj".

Bonus

  • Write a method, findLongestWord(), that takes an array of words and returns the length of the longest one.

  • Write a method, filterLongWords(), that takes an array of words and a number, i, and returns the word(s) in the array that are longer than i characters.

Starter Code

There is no starter code for this lab.

Deliverable

You'll review the answers with the instructor in class.

Additional Resources

d0f277b2c8f9b3d2efad1b2439c8359e3153cbdb

About


Languages

Language:Java 40.0%Language:JavaScript 25.9%Language:CSS 17.5%Language:HTML 16.6%