This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* IMPORTANT: Add your package below. Package name can be found in the project's AndroidManifest.xml file. | |
* This is the package name our example uses: | |
* | |
* package com.example.android.justjava; | |
* | |
*/ | |
import android.os.Bundle; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add your package below | |
package com.example.android.justjava; | |
import android.os.Bundle; | |
import android.support.v7.app.AppCompatActivity; | |
import android.view.View; | |
import android.widget.TextView; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.disinas.quiz; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; | |
import android.widget.RadioGroup; | |
import android.widget.TextView; | |
import android.view.View; | |
public class MainActivity extends AppCompatActivity { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// How to manipulate string in JS | |
const currentUser = 'Grace Hopper'; | |
const welcomeMessage = `Welcome to Flatbook, ${currentUser}!`; | |
const excitedWelcomeMessage = welcomeMessage.toUpperCase(); | |
const shortGreeting = `Welcome, ${currentUser.slice(0, 1)}!`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Humans vs Machines Blog</title> | |
</head> | |
<body> | |
<!-- This was adapted from: http://blog.udacity.com/2016/03/humans-vs-machines-an-ai-odyssey-2.html --> | |
<!-- Format this text to match the mockup exactly! --> | |
<h1>Humans vs. Machines: An AI Odyssey</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Giant panda</title> | |
<link rel="stylesheet" href="styles.css"> | |
</head> | |
<body> | |
<div class="card-backgr"> | |
<!-- your favorite animal's name goes here --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Web Dev Blog Post</title> | |
</head> | |
<body> | |
<!-- This is adapted from: http://blog.udacity.com/2016/01/hottest-jobs-in-2016-2-web-developer.html --> | |
<!-- Format the text below! --> | |
<h1>Hottest Jobs in 2016 #2: Web Developer</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// describe('shout(string)', function() { | |
// it('receives one argument and returns it in all caps', function() { | |
// expect(shout('hello')).toEqual('HELLO') | |
// }) | |
// }) | |
function shout (aWord) { | |
return aWord.toUpperCase( ); | |
} | |
// describe('whisper(string)', function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Programming Quiz: MadLibs (2-11) | |
* | |
* 1. Declare a madLib variable | |
* 2. Use the adjective1, adjective2, and adjective3 variables to set the madLib variable to the message: | |
* | |
* 'The Intro to JavaScript course is amazing. James and Julia are so fun. I cannot wait to work through the rest of this entertaining content!' | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Programming Quiz: Murder Mystery (3-4) | |
*/ | |
// change the value of `room` and `suspect` to test your code | |
var room = "dining room"; | |
var suspect = "Mr. Parkes"; | |
var weapon = ""; | |
var solved = false; |
OlderNewer