21 lines
735 B
HTML
21 lines
735 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Unit 4 Day 2</title>
|
|
<link href="style.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<h1>Count "s" and "S" characters</h1>
|
|
<label for="input1">Input:</label>
|
|
<input type="text" id="input1"></input>
|
|
<button onclick="program1(document.getElementById('input1').value)">Submit</button>
|
|
<p>Output: <p id="out1"></p></p>
|
|
<hr>
|
|
<h1>Capitalize every odd number letter and lowercase every even number letter</h1>
|
|
<label for="input2">Input:</label>
|
|
<input type="text" id="input2"></input>
|
|
<button onclick="program2(document.getElementById('input2').value)">Submit</button>
|
|
<p>Output: <p id="out2"></p></p>
|
|
<script src="script.js"></script>
|
|
</body>
|
|
</html> |