This project contains a simple "Hello World" application implemented as both a website and an iOS app.
The web application is located in the web
directory and consists of the following files:
- index.html: The main HTML document that structures the webpage and links to the CSS and JavaScript files.
- css/style.css: The stylesheet that defines the appearance of the webpage, including colors, fonts, and layout.
- js/script.js: The JavaScript file that contains code for DOM manipulation and user interaction handling.
- Open
index.html
in a web browser. - The webpage will display "Hello, World!" styled according to the CSS.
The iOS application is located in the ios
directory and consists of the following files:
- HelloWorldApp.swift: The entry point of the iOS application that sets up the initial view.
- ContentView.swift: The main view of the app that displays "Hello, World!" on the screen.
- Assets.xcassets/Contents.json: Manages image assets for the app.
- Open the
HelloWorld.xcodeproj
file in Xcode. - Select a simulator or a connected device.
- Build and run the project to see "Hello, World!" displayed on the screen.
This project serves as a basic introduction to web and iOS development, showcasing how to create a simple application that displays "Hello, World!" in both environments.